Skip to content

Commit 768ab3c

Browse files
author
Akash Satheesan
committed
chore(ci): fix build script
1 parent 951040b commit 768ab3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/build/build-packages.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ main() {
1414

1515
if [[ $OS == "linux" ]]; then
1616
# Allow us to override architecture on Linux
17-
if [ "$1" ]; then
17+
if [ "$#" -eq 1 ] && [ "$1" ]; then
1818
ARCH=$1
1919
fi
2020
release_nfpm

0 commit comments

Comments
 (0)