From: joey Date: Sat, 19 Aug 2006 02:58:47 +0000 (+0000) Subject: * Fix ikiwiki-mass-rebuild to work in the way the postinst uses it. X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/ccd3a7e2c2fb5307b84abc79e7d0b897621e2850 * Fix ikiwiki-mass-rebuild to work in the way the postinst uses it. --- diff --git a/debian/changelog b/debian/changelog index 7ea833e54..779147086 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,8 +11,9 @@ ikiwiki (1.21) UNRELEASED; urgency=low will now work. * Add a map plugin contributed by Alessandro Dotti Contra. * Add otl format plugin, which handles files as created by vimoutliner. + * Fix ikiwiki-mass-rebuild to work in the way the postinst uses it. - -- Joey Hess Fri, 18 Aug 2006 17:27:38 -0400 + -- Joey Hess Fri, 18 Aug 2006 22:54:08 -0400 ikiwiki (1.20) unstable; urgency=low diff --git a/doc/ikiwiki-mass-rebuild.mdwn b/doc/ikiwiki-mass-rebuild.mdwn index a9a7f4adb..e5474dd26 100644 --- a/doc/ikiwiki-mass-rebuild.mdwn +++ b/doc/ikiwiki-mass-rebuild.mdwn @@ -16,10 +16,7 @@ user /path/to/wiki # OPTIONS -* -refresh - - Rather than rebuilding all the wikis, just build any changed pages - (including pages inherited from the basewiki). +All options are passed on to ikiwiki. # AUTHOR diff --git a/ikiwiki-mass-rebuild b/ikiwiki-mass-rebuild index dac54cb8e..7ec41e98f 100755 --- a/ikiwiki-mass-rebuild +++ b/ikiwiki-mass-rebuild @@ -1,10 +1,7 @@ #!/bin/sh set -e -action="" -if [ -n "$1" ]; then - action="$1" -fi +action="$@" wikilist=/etc/ikiwiki/wikilist