Applied patch from Felix Lee <flee@cygnus.com>:

Fix quoting problem, for bash 2.x
This commit is contained in:
Nick Clifton
1999-07-09 03:27:25 +00:00
parent a952a37550
commit 7a2746396a
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,7 @@
1999-07-08 Felix Lee <flee@cygnus.com>
* scripttempl/mcorepe.sc: fix quoting problem, for bash 2.x
1999-07-08 Jakub Jelinek <jj@ultra.linux.cz>
* ldfile.c (ldfile_open_file_search): Skip libraries made for

View File

@ -35,9 +35,16 @@ else
R_RSRC=
fi
cat <<EOF
${RELOCATING+OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}",
if test "$RELOCATING"; then
# Can't use ${RELOCATING+blah "blah" blah} for this,
# because bash 2.x will lose the doublequotes.
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}",
"${LITTLE_OUTPUT_FORMAT}")}
EOF
fi
cat <<EOF
${LIB_SEARCH_DIRS}
ENTRY(_mainCRTStartup)