summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-02-15 14:27:55 +0000
committerNicholas Clark <nick@ccl4.org>2008-02-15 14:27:55 +0000
commitf16e9d76b4f2d50c552a4b696d3664ca265b9771 (patch)
treee33dbd0b8825e4b1aaad2c2591a3c434ea36b355 /Configure
parentac29ea618786f0a38e2ac499b0736f40f4b2eb78 (diff)
downloadperl-f16e9d76b4f2d50c552a4b696d3664ca265b9771.tar.gz
Shell patterns are subject to tilde expansion. So the case statement
in the filexp script (written out by Configure) for expanding ~ and ~/* has never worked. It's always been relying on the /bin/csh glob for the ~* case. Few people ever noticed because one has to be building to one's home directory on a system with no csh installed. This is a bug from Perl 1.0's Configure! p4raw-id: //depot/perl@33318
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/Configure b/Configure
index 5b21d0e68d..6cb455ed93 100755
--- a/Configure
+++ b/Configure
@@ -3589,7 +3589,7 @@ cat >filexp <<EOSS
$startsh
: expand filename
case "\$1" in
- ~/*|~)
+ \~/*|\~)
echo \$1 | $sed "s|~|\${HOME-\$LOGDIR}|"
;;
~*)