aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xupload6
1 files changed, 3 insertions, 3 deletions
diff --git a/upload b/upload
index 756378b..7969bd5 100755
--- a/upload
+++ b/upload
@@ -7,13 +7,13 @@ cd "$(dirname "${0}")"
message=
skip_build=n
-for arg;
- if test "${arg}" = skip_build; then
+for arg; do
+ if test "${arg}" = skip-build; then
skip_build=y
elif test "${arg::8}" = message=; then
message="${arg:8}"
fi
-do
+done
if test ! "${skip_build}" = y; then
makepkg --install --clean