X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/72c3b81efb1079f8db070ac89e97e9b7bcedd61b..ecb59749e3cb65f79dd9e30c41fc6b9be5b33268:/pm_filter?ds=sidebyside diff --git a/pm_filter b/pm_filter index 8e1480564..351e0b4d9 100755 --- a/pm_filter +++ b/pm_filter @@ -7,12 +7,12 @@ BEGIN { } if (/INSTALLDIR_AUTOREPLACE/) { - $_=qq{our \$installdir="$prefix";}; + $_=qq{our \$installdir='$prefix';}; } elsif (/VERSION_AUTOREPLACE/) { $_=qq{our \$version="$ver";}; } -elsif (/^use lib/) { +elsif (/^(?:use FindBin; *)?use lib/) { # The idea here is to figure out if the libdir the Makefile.PL # was configured to use is in perl's normal search path. # If not, hard code it into ikiwiki.