aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki-comment.in
diff options
context:
space:
mode:
Diffstat (limited to 'ikiwiki-comment.in')
-rwxr-xr-xikiwiki-comment.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/ikiwiki-comment.in b/ikiwiki-comment.in
index 1c7baead0..174647b06 100755
--- a/ikiwiki-comment.in
+++ b/ikiwiki-comment.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 IkiWiki::Plugin::comments;
use Getopt::Long;