X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/021952969933388021001b259462406cbc94c2a6..1e75389a856c8ab8e233b81fd3310169cbe8d57e:/ikiwiki.in diff --git a/ikiwiki.in b/ikiwiki.in index b62962ad8..ac43044df 100755 --- a/ikiwiki.in +++ b/ikiwiki.in @@ -7,7 +7,7 @@ package IkiWiki; use warnings; use strict; use lib '.'; # For use in nonstandard directory, munged by Makefile. -use IkiWiki; +use IkiWiki 3.00; sub usage () { die gettext("usage: ikiwiki [options] source dest"), "\n", @@ -44,7 +44,8 @@ sub getconfig () { "wrappergroup=s" => \$config{wrappergroup}, "usedirs!" => \$config{usedirs}, "prefix-directives!" => \$config{prefix_directives}, - "getctime" => \$config{getctime}, + "getctime" => \$config{gettime}, + "gettime!" => \$config{gettime}, "numbacklinks=i" => \$config{numbacklinks}, "rcs=s" => \$config{rcs}, "no-rcs" => sub { $config{rcs}="" }, @@ -103,8 +104,8 @@ sub getconfig () { } eval q{use YAML::Any}; eval q{use YAML} if $@; - $YAML::Syck::ImplicitUnicode=1; die $@ if $@; + eval q{$YAML::Syck::ImplicitUnicode=1}; $config{$var}=Load($val."\n"); }, "version" => sub {