Use single-quotes in $installdir value in case prefix includes a string metacharacter.
parent
5d0763daab
commit
b63aad46c4
|
@ -7,7 +7,7 @@ BEGIN {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (/INSTALLDIR_AUTOREPLACE/) {
|
if (/INSTALLDIR_AUTOREPLACE/) {
|
||||||
$_=qq{our \$installdir="$prefix";};
|
$_=qq{our \$installdir='$prefix';};
|
||||||
}
|
}
|
||||||
elsif (/VERSION_AUTOREPLACE/) {
|
elsif (/VERSION_AUTOREPLACE/) {
|
||||||
$_=qq{our \$version="$ver";};
|
$_=qq{our \$version="$ver";};
|
||||||
|
|
Loading…
Reference in New Issue