X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/8e752d09766da8b3ebb9ca9ba6f67be7168e63d1..ae8bddf338e481ebe9aab8edcb0eec281583a2a6:/ikiwiki.in?ds=inline 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 (@) {