X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/1fc3f034191d3eec78b4d5da343e282092a221be..e95a7d5654df9f081cc6cbda878469bb6491d290:/ikiwiki.in?ds=sidebyside diff --git a/ikiwiki.in b/ikiwiki.in index e6b64f439..30df628b2 100755 --- a/ikiwiki.in +++ b/ikiwiki.in @@ -1,14 +1,15 @@ #!/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 () { die gettext("usage: ikiwiki [options] source dest"), "\n", - gettext(" ikiwiki --setup configfile"), "\n"; + gettext(" ikiwiki --setup my.setup [options]"), "\n"; } sub setup (@) {