summaryrefslogtreecommitdiff
path: root/ikiwiki-mass-rebuild
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-19 02:58:47 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-19 02:58:47 +0000
commitccd3a7e2c2fb5307b84abc79e7d0b897621e2850 (patch)
treea929a1e05347c2e31d139b756b2bcc3f23572498 /ikiwiki-mass-rebuild
parentbcf135038a7fca4904734c03080d8a889b420a34 (diff)
* Fix ikiwiki-mass-rebuild to work in the way the postinst uses it.
Diffstat (limited to 'ikiwiki-mass-rebuild')
-rwxr-xr-xikiwiki-mass-rebuild5
1 files changed, 1 insertions, 4 deletions
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