projects
/
ikiwiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
po: Detect if nowrapi18n can't be passed to po4a, and warn about the old version...
[ikiwiki.git]
/
ikiwiki.in
diff --git
a/ikiwiki.in
b/ikiwiki.in
index 32a24af84a6177d0477bc1914afcddd41b2627cc..4e9b812f852cb4b9805c51d7af6c0d0576d8a976 100755
(executable)
--- a/
ikiwiki.in
+++ b/
ikiwiki.in
@@
-1,4
+1,4
@@
-#!/usr/bin/perl
-T
+#!/usr/bin/perl
$ENV{PATH}="/usr/local/bin:/usr/bin:/bin";
delete @ENV{qw{IFS CDPATH ENV BASH_ENV}};
$ENV{PATH}="/usr/local/bin:/usr/bin:/bin";
delete @ENV{qw{IFS CDPATH ENV BASH_ENV}};
@@
-135,7
+135,8
@@
sub main () {
if (@{$config{wrappers}} &&
! $config{render} && ! $config{dumpsetup} &&
if (@{$config{wrappers}} &&
! $config{render} && ! $config{dumpsetup} &&
- (! $config{refresh} || $config{genwrappers})) {
+ ((! $config{refresh} && ! $config{post_commit})
+ || $config{genwrappers})) {
debug(gettext("generating wrappers.."));
require IkiWiki::Wrapper;
my %origconfig=(%config);
debug(gettext("generating wrappers.."));
require IkiWiki::Wrapper;
my %origconfig=(%config);
@@
-157,7
+158,8
@@
sub main () {
}
# setup implies a wiki rebuild by default
}
# setup implies a wiki rebuild by default
- if (! $config{refresh} && ! $config{render}) {
+ if (! $config{refresh} && ! $config{render} &&
+ ! $config{post_commit}) {
$config{rebuild}=1;
}
}
$config{rebuild}=1;
}
}