Changed sed command to avoid severe limitations in Solaris /bin/sed.

Detected by Joel after multiple reports on the rtems-users mailing
list.  Final fix from Ralf Corsepius.
This commit is contained in:
Joel Sherrill
2000-05-28 17:41:43 +00:00
parent 05ff78ab00
commit 9d05d68fe6

View File

@@ -47,7 +47,7 @@ RTEMS_CONFIG_SUBDIRS(c)
if test "$target_alias" != "$host_alias"; then
changequote(,)dnl
TARGET_SUBDIRS=`echo "$target_subdirs" | \
sed -e "s%\([^ ]\+\)%$target_alias/\1%g"`
sed -e "s%\([a-zA-Z0-9][a-zA-Z0-9]*\)%${target_alias}/\1%g"`
changequote([,])dnl
else
TARGET_SUBDIRS="$target_subdirs"