use let for math
This commit is contained in:
parent
8d0e380c27
commit
2bd276bd0d
|
@ -3,6 +3,6 @@
|
||||||
EXIT_TOTAL=0
|
EXIT_TOTAL=0
|
||||||
for deb in "$@" ; do
|
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
|
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
|
done
|
||||||
exit $EXIT_TOTAL
|
exit $EXIT_TOTAL
|
||||||
|
|
Loading…
Reference in a new issue