]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
Use single-quotes in $installdir value in case prefix includes a string metacharacter.
authorSam Hathaway <sam@uofr.net>
Wed, 3 Aug 2016 15:29:23 +0000 (11:29 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 3 Aug 2016 18:58:52 +0000 (14:58 -0400)
pm_filter

index 374e9a44fca9ca43233e22e306831dbbc2e6e02c..351e0b4d99a0104434d687c71fd474f14f6adb08 100755 (executable)
--- a/pm_filter
+++ b/pm_filter
@@ -7,7 +7,7 @@ BEGIN {
 }
 
 if (/INSTALLDIR_AUTOREPLACE/) {
-       $_=qq{our \$installdir="$prefix";};
+       $_=qq{our \$installdir='$prefix';};
 }
 elsif (/VERSION_AUTOREPLACE/) {
        $_=qq{our \$version="$ver";};