summaryrefslogtreecommitdiff
path: root/ikiwiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-23 08:13:39 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-23 08:13:39 +0000
commit800dfe6612712c851ba4fdf2baab6e274dabbef2 (patch)
treea48119e0d483836c21d5130a1c79dffff28083fb /ikiwiki
parentd59734caf69d43373f7a1199f028dad70c3b2350 (diff)
foo
Diffstat (limited to 'ikiwiki')
-rwxr-xr-xikiwiki9
1 files changed, 4 insertions, 5 deletions
diff --git a/ikiwiki b/ikiwiki
index 1ac0ce9c0..427243312 100755
--- a/ikiwiki
+++ b/ikiwiki
@@ -1,5 +1,4 @@
#!/usr/bin/perl -T
-
$ENV{PATH}="/usr/local/bin:/usr/bin:/bin";
package IkiWiki;
@@ -11,6 +10,10 @@ use lib '.'; # For use without installation, removed by Makefile.
use vars qw{%config %links %oldlinks %oldpagemtime %renderedfiles %pagesources};
+sub usage () { #{{{
+ die "usage: ikiwiki [options] source dest\n";
+} #}}}
+
sub getconfig () { #{{{
if (! exists $ENV{WRAPPED_OPTIONS}) {
%config=(
@@ -106,10 +109,6 @@ sub error ($) { #{{{
die @_;
} #}}}
-sub usage () { #{{{
- die "usage: ikiwiki [options] source dest\n";
-} #}}}
-
sub possibly_foolish_untaint ($) { #{{{
my $tainted=shift;
my ($untainted)=$tainted=~/(.*)/;