aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki-transition.in
diff options
context:
space:
mode:
Diffstat (limited to 'ikiwiki-transition.in')
-rwxr-xr-xikiwiki-transition.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/ikiwiki-transition.in b/ikiwiki-transition.in
index e3be645cc..3b617bbfa 100755
--- a/ikiwiki-transition.in
+++ b/ikiwiki-transition.in
@@ -1,7 +1,8 @@
#!/usr/bin/perl
+no lib '.';
use warnings;
use strict;
-use lib '.'; # For use in nonstandard directory, munged by Makefile.
+use FindBin; use lib $FindBin::Bin; # For use in nonstandard directory, munged by Makefile.
use IkiWiki;
use HTML::Entities;