summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2011-04-18 23:43:27 +0100
committerDavid Mitchell <davem@iabyn.com>2011-04-18 23:43:27 +0100
commit55e4a474ad63535e486bd657f45b5339709cbcd3 (patch)
tree0e609789667307370137a5deee489e55e02b1969
parentebf3760c26025a6c498c5d5dd2c9d1a8a46be64b (diff)
downloadperl-55e4a474ad63535e486bd657f45b5339709cbcd3.tar.gz
collapse plibpth to one line
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,
-rw-r--r--hints/linux.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/hints/linux.sh b/hints/linux.sh
index e03ab1edcf..d47439c2a1 100644
--- a/hints/linux.sh
+++ b/hints/linux.sh
@@ -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