web commit by EdAvis
[ikiwiki.git] / ikiwiki-mass-rebuild
index dac54cb8ee5d2fa00864543d4a5cb29effefe9a9..7ec41e98f7734db9b132e139c475ac44e869a6f7 100755 (executable)
@@ -1,10 +1,7 @@
 #!/bin/sh
 set -e
 
-action=""
-if [ -n "$1" ]; then
-       action="$1"
-fi
+action="$@"
 
 wikilist=/etc/ikiwiki/wikilist