fix arg parsing
authorIan Kelling <ian@iankelling.org>
Fri, 9 Sep 2016 22:01:32 +0000 (15:01 -0700)
committerIan Kelling <ian@iankelling.org>
Fri, 9 Sep 2016 22:01:32 +0000 (15:01 -0700)
apache-site

index 4550e85f5b55ee15eba1617444f4e6ceafdc1ec6..a4f295ac68f0bd9de1e0981085e6e667c890eaff 100755 (executable)
@@ -62,9 +62,9 @@ while true; do
 done
 
 if (( ${#@} == 2 )); then
-    read extra_settings h <<<"${args[@]}"
+    read extra_settings h <<<"${@}"
 else
-    read h <<<"${args[@]}"
+    read h <<<"${@}"
 fi
 
 if [[ ! $h ]]; then