This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Wrong quotation breaks things
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Wed, 9 May 2007 22:08:17 +0000 (22:08 +0000)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Wed, 9 May 2007 22:08:17 +0000 (22:08 +0000)
p4raw-id: //depot/metaconfig@31186

U/modified/Oldconfig.U

index 6b123f6..a160b1e 100644 (file)
@@ -128,7 +128,7 @@ $test -z "$myuname" && myuname=`hostname 2>/dev/null`
 ?X: new lines to keep the myuname variable sane... --RAM
 # tr '[A-Z]' '[a-z]' would not work in EBCDIC
 # because the A-Z/a-z are not consecutive.
-myuname=`echo $myuname | $sed -e 's/^[^=]*=//' -e 's,['/],,g' | \
+myuname=`echo $myuname | $sed -e 's/^[^=]*=//' -e "s,['/],,g" | \
        ./tr '[A-Z]' '[a-z]' | $tr $trnl ' '`
 ?X: Save the value we just computed to reset myuname after we get done here.
 newmyuname="$myuname"