Author: nkinder
Update of /cvs/dirsec/setuputil In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21640
Modified Files: nsarch Log Message: Fixed parsing of supported emulations in nsarch
Index: nsarch =================================================================== RCS file: /cvs/dirsec/setuputil/nsarch,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- nsarch 16 Dec 2005 01:07:51 -0000 1.2 +++ nsarch 16 Dec 2005 18:14:26 -0000 1.3 @@ -570,7 +570,7 @@ # The BFD linker knows what the default object file format is, so # first see if it will tell us. ld_help_string=`ld --help 2>&1` - if echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: .* elf_i[345]86"; then + if echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: .*elf_i[345]86"; then #echo "${UNAME_MACHINE}-unknown-linux" ; exit 0 GNU_NAME="${UNAME_MACHINE}-unknown-linux" NS_NAME="${UNAME_SYSTEM}"