aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki.in
diff options
context:
space:
mode:
Diffstat (limited to 'ikiwiki.in')
-rwxr-xr-xikiwiki.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/ikiwiki.in b/ikiwiki.in
index 1327d70e1..30df628b2 100755
--- a/ikiwiki.in
+++ b/ikiwiki.in
@@ -1,9 +1,10 @@
#!/usr/bin/perl
package IkiWiki;
+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 3.00;
sub usage () {