diff options
author | Dominic Dunlop <domo@computer.org> | 2000-02-23 21:41:54 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-02-23 19:54:04 +0000 |
commit | 1e127011e62c95c4a19af4f485c844a77e433804 (patch) | |
tree | c01fd9cfb0cff99d1dcda5b12c822e5ac39a39b1 /Configure | |
parent | af66385903edd5f9eaeeae68399b75c770de2f43 (diff) | |
download | perl-1e127011e62c95c4a19af4f485c844a77e433804.tar.gz |
[ID 20000223.007] [PATCH 5.5.660] $@ unsafe in Configure sed arguments
To: perl5-porters@perl.org
Cc: Andy Dougherty <doughera@lafayette.edu>,
Gurusamy Sarathy <gsar@activestate.com>
Message-Id: <v04220800b4d9e48c51bb@[212.24.193.51]>
p4raw-id: //depot/cfgperl@5223
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Tue Feb 22 23:55:00 EET 2000 [metaconfig 3.0 PL70] +# Generated on Wed Feb 23 21:51:47 EET 2000 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.com) cat >/tmp/c1$$ <<EOF @@ -2405,12 +2405,12 @@ EOM : specified already. case "$hintfile" in ''|' ') - file=`echo "${osname}_${osvers}" | $sed -e 's@\.@_@g' -e 's@_$@@'` + file=`echo "${osname}_${osvers}" | $sed -e 's%\.%_%g' -e 's%_$%%'` : Also try without trailing minor version numbers. - xfile=`echo $file | $sed -e 's@_[^_]*$@@'` - xxfile=`echo $xfile | $sed -e 's@_[^_]*$@@'` - xxxfile=`echo $xxfile | $sed -e 's@_[^_]*$@@'` - xxxxfile=`echo $xxxfile | $sed -e 's@_[^_]*$@@'` + xfile=`echo $file | $sed -e 's%_[^_]*$%%'` + xxfile=`echo $xfile | $sed -e 's%_[^_]*$%%'` + xxxfile=`echo $xxfile | $sed -e 's%_[^_]*$%%'` + xxxxfile=`echo $xxxfile | $sed -e 's%_[^_]*$%%'` case "$file" in '') dflt=none ;; *) case "$osvers" in @@ -3752,7 +3752,7 @@ for thislib in $libswanted; do libsfound="$libsfound $xxx" yyy=`basename $xxx` libsfiles="$libsfiles $yyy" - yyy=`echo $xxx|sed "s@/$yyy\\$@@"` + yyy=`echo $xxx|$sed -e "s%/$yyy\\$%%"` case " $libsdirs " in *" $yyy "*) ;; *) libsdirs="$libsdirs $yyy" ;; @@ -5967,7 +5967,7 @@ y*) usedl="$define" . ./getfile usedl="$define" : emulate basename - dlsrc=`echo $ans | $sed -e 's@.*/\([^/]*\)$@\1@'` + dlsrc=`echo $ans | $sed -e 's%.*/\([^/]*\)$%\1%'` $cat << EOM |