summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-01-15 17:55:54 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-15 17:55:54 +0000
commit6904989c318cdcee885d7e65fc0a5bbcb38e1130 (patch)
tree71e1444c9b789284a4847413b2ab50c49c7dc3c0 /Makefile.SH
parente9eafa28453c6046c3c2cae0ae08f0a86f0efd10 (diff)
downloadperl-6904989c318cdcee885d7e65fc0a5bbcb38e1130.tar.gz
Some protection against spaces in directory names.
(Tru64 still has some makedepend problems in such cases but that looks like Tru64's problem.) p4raw-id: //depot/perl@14287
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 103f503374..f86b17bf6b 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -100,6 +100,11 @@ true)
;;
esac
+case "`pwd`" in
+# Protect any spaces
+*" "*) ldlibpth=`echo $ldlibpth|sed 's/ /\\\\ /g'` ;;
+esac
+
: Prepare dependency lists for Makefile.
dynamic_list=' '
for f in $dynamic_ext; do