From 2bd276bd0da35ffed77a21f38cb95c848573c7b9 Mon Sep 17 00:00:00 2001 From: crystal Date: Sun, 2 Jul 2023 11:01:49 -0600 Subject: [PATCH] use let for math --- .ci-forgejo-apt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci-forgejo-apt.sh b/.ci-forgejo-apt.sh index 8a20937..7876e28 100755 --- a/.ci-forgejo-apt.sh +++ b/.ci-forgejo-apt.sh @@ -3,6 +3,6 @@ EXIT_TOTAL=0 for deb in "$@" ; do curl -X PUT -H "Authorization: token $FORGEJO_KEY" -T "$deb" $FORGEJO_SITE/api/packages/$FORGEJO_OWNER/debian/pool/$DEBIAN_DIST/$DEBIAN_COMPONENT/upload - EXIT_TOTAL=$EXIT_TOTAL+$? + let EXIT_TOTAL=$EXIT_TOTAL+$? done exit $EXIT_TOTAL