aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-03-21 05:35:39 +0000
committerAlan Modra <amodra@gmail.com>2002-03-21 05:35:39 +0000
commit79b1faa8744fa61119777c2e32ca7331ed3c0e5b (patch)
treeca874608ba73264f400be05ab3141ecb458127aa /ld
parenta2f14207f3e8dfb5234e8d50b10bf4ed5a6d64a5 (diff)
downloadgdb-79b1faa8744fa61119777c2e32ca7331ed3c0e5b.zip
gdb-79b1faa8744fa61119777c2e32ca7331ed3c0e5b.tar.gz
gdb-79b1faa8744fa61119777c2e32ca7331ed3c0e5b.tar.bz2
* genscripts.sh (LIB_SEARCH_DIRS): Quote path.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rwxr-xr-xld/genscripts.sh2
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index dda0b40..3b1dba1 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2002-03-21 Albert Chin-A-Young <china@thewrittenword.com>
+
+ * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
+
2002-03-20 Alan Modra <amodra@bigpond.net.au>
* ldlang.c (ldlang_add_undef): If the output bfd has been opened,
diff --git a/ld/genscripts.sh b/ld/genscripts.sh
index 501a68c..fe1fa49 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