summaryrefslogtreecommitdiff
path: root/ld/genscripts.sh
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-03-21 05:35:39 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-03-21 05:35:39 +0000
commitc303881d01cb244ee7c594787194bd786379a3b6 (patch)
tree5588dca38ad584871553a0c212613da65ad5c7ac /ld/genscripts.sh
parent58236fa460002e025e122bc6fc124d9126b1fa01 (diff)
downloadbinutils-redhat-c303881d01cb244ee7c594787194bd786379a3b6.tar.gz
* genscripts.sh (LIB_SEARCH_DIRS): Quote path.
Diffstat (limited to 'ld/genscripts.sh')
-rwxr-xr-xld/genscripts.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/genscripts.sh b/ld/genscripts.sh
index 501a68c8b9..fe1fa499f5 100755
--- a/ld/genscripts.sh
+++ b/ld/genscripts.sh
@@ -69,7 +69,7 @@ fi
# Always search $(tooldir)/lib, aka /usr/local/TARGET/lib.
LIB_PATH=${LIB_PATH}:${tool_lib}
-LIB_SEARCH_DIRS=`echo ${LIB_PATH} | tr ':' ' ' | sed -e 's/\([^ ][^ ]*\)/SEARCH_DIR(\1);/g'`
+LIB_SEARCH_DIRS=`echo ${LIB_PATH} | tr ':' ' ' | sed -e 's/\([^ ][^ ]*\)/SEARCH_DIR(\\"\1\\");/g'`
# Generate 5 or 6 script files from a master script template in
# ${srcdir}/scripttempl/${SCRIPT_NAME}.sh. Which one of the 5 or 6