X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/604d0391ba2d372f8de6efd364e9978fb11e4f92..f55e5e07946320e6ed675b79f63e7c3d3848f4b4:/pm_filter 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.