Use single-quotes in $installdir value in case prefix includes a string metacharacter.

master
Sam Hathaway 2016-08-03 11:29:23 -04:00 committed by Joey Hess
parent 5d0763daab
commit b63aad46c4
Failed to extract signature
1 changed files with 1 additions and 1 deletions

View File

@ -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";};