collapse plibpth to one line
authorDavid Mitchell <davem@iabyn.com>
Mon, 18 Apr 2011 22:43:27 +0000 (23:43 +0100)
committerDavid Mitchell <davem@iabyn.com>
Mon, 18 Apr 2011 22:43:27 +0000 (23:43 +0100)
The recent change to hints/linux.sh,
40f026236b9959b7ad3260fedc6c66cd30bb7abc
set the plibpth variable.
It was supposed to set all entries on a single line, but it didn't.
Do it now,

hints/linux.sh

index e03ab1e..d47439c 100644 (file)
@@ -165,7 +165,8 @@ esac
 case "$plibpth" in
 '') plibpth=`gcc -print-search-dirs | grep libraries |
        cut -f2- -d= | tr ':' $trnl | grep -v 'gcc'`
-    plibpth="$plibpth"  # Collapse all entries on one line
+    set $plibpth
+    plibpth="$@"  # Collapse all entries on one line
     ;;
 esac