aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2024-10-08 21:01:24 +0200
committerMattias Andrée <m@maandree.se>2024-10-08 21:02:00 +0200
commitc1b9fe321f8fda2da23500e07a5c40089525b2ec (patch)
tree324985076d3e1f3d365a6390f0e113a547f33ac5
parentImprove upload script (diff)
downloadaur-packages-c1b9fe321f8fda2da23500e07a5c40089525b2ec.tar.gz
aur-packages-c1b9fe321f8fda2da23500e07a5c40089525b2ec.tar.bz2
aur-packages-c1b9fe321f8fda2da23500e07a5c40089525b2ec.tar.xz
Fix previous commit
Signed-off-by: Mattias Andrée <m@maandree.se>
-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