aboutsummaryrefslogtreecommitdiff
path: root/pm_filter
diff options
context:
space:
mode:
authorSam Hathaway <sam@uofr.net>2016-08-03 11:29:23 -0400
committerJoey Hess <joeyh@joeyh.name>2016-08-03 14:58:52 -0400
commitb63aad46c48e6879d98d30b60159362f64ba4876 (patch)
tree0c5852adccdea167494fc17cb8aba0cc8a753357 /pm_filter
parent5d0763daab6685df349f436be098baa433a7714c (diff)
downloadikiwiki-b63aad46c48e6879d98d30b60159362f64ba4876.tar
ikiwiki-b63aad46c48e6879d98d30b60159362f64ba4876.tar.gz
Use single-quotes in $installdir value in case prefix includes a string metacharacter.
Diffstat (limited to 'pm_filter')
-rwxr-xr-xpm_filter2
1 files changed, 1 insertions, 1 deletions
diff --git a/pm_filter b/pm_filter
index 374e9a44f..351e0b4d9 100755
--- 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";};