]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - ikiwiki-mass-rebuild
Call srcfile() with nothrow, as clearly intended.
[git.ikiwiki.info.git] / ikiwiki-mass-rebuild
index 9b57532bcce1897454b46a08ef62055c6982525c..ce4e084e8f0daff8e99e221d6e0027fac70423fb 100755 (executable)
@@ -1,4 +1,5 @@
 #!/usr/bin/perl
 #!/usr/bin/perl
+no lib '.';
 use warnings;
 use strict;
 
 use warnings;
 use strict;
 
@@ -20,7 +21,7 @@ sub processline {
                return;
        }
        print "Processing $setup as user ".username()." ...\n";
                return;
        }
        print "Processing $setup as user ".username()." ...\n";
-       my $ret=system("ikiwiki", "-setup", $setup, @ARGV);
+       my $ret=system("ikiwiki", "--setup", $setup, @ARGV);
        if ($ret != 0) {
                print STDERR "warning: processing $setup failed with code $ret\n";
        }
        if ($ret != 0) {
                print STDERR "warning: processing $setup failed with code $ret\n";
        }