aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki-mass-rebuild
diff options
context:
space:
mode:
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