X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/dd7a38147179a59bff9dffd824b265862aa1a59e..e0c387c8d048107edf9549d0f353d23d313620b7:/ikiwiki-mass-rebuild?ds=sidebyside diff --git a/ikiwiki-mass-rebuild b/ikiwiki-mass-rebuild index daba2ca43..7ec41e98f 100755 --- a/ikiwiki-mass-rebuild +++ b/ikiwiki-mass-rebuild @@ -1,6 +1,8 @@ #!/bin/sh set -e +action="$@" + wikilist=/etc/ikiwiki/wikilist processline () { @@ -15,8 +17,8 @@ processline () { if [ ! -f "$setup" ]; then echo "warning: $setup specified in /etc/ikiwiki/wikilist does not exist, skipping" >&2 else - echo "Rebuilding $setup as user $user ..." - su "$user" -c "ikiwiki -setup $setup" + echo "Processing $setup as user $user ..." + su "$user" -c "ikiwiki -setup $setup $action" fi }