summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/deb.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/deb.sh b/src/deb.sh
index c6e15ca..897aee3 100755
--- a/src/deb.sh
+++ b/src/deb.sh
@@ -41,7 +41,7 @@ main()
CWD="${PWD}"
- cmd_run ${@}
+ cmd_run "${@}"
}
print_usage()
@@ -127,7 +127,7 @@ prompt_bool()
cmd_run()
{
- "cmd_${COMMAND_NAME}" ${@}
+ "cmd_${COMMAND_NAME}" "${@}"
}
cmd_init()
@@ -175,7 +175,7 @@ EOF
if [ ${#} -eq 1 ]; then
printf '%s\n' "$(eval echo \$\{${config_name}\})"
else
- eval "${config_name}=${2}"
+ eval "${config_name}=\"${2}\""
config_save
fi
}
@@ -396,4 +396,4 @@ EOF
rsync -az --stats "${DEB_TREE}/builds/" "${CONFIG_remote}/builds/"
}
-main ${@}
+main "${@}"