Skip to content

Commit 6482c09

Browse files
committed
ci: fix bugs in script
1 parent 0e01e73 commit 6482c09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/scripts/linux_distribution/deb/build_deb.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ VERSION=$2
55
PACKAGE_NAME=$3
66
ARCHITECTURE=$4
77

8-
if [-z $ARCHITECTURE] || ["$ARCHITECTURE" = "amd64"] ; then
8+
if [ -z "$ARCHITECTURE" ] || [ "$ARCHITECTURE" = "amd64" ]; then
99
ARCHITECTURE=amd64
1010
ALT_ARCHITECTURE=arm64
11-
elif ["$ARCHITECTURE" = "arm64"]
11+
elif [ "$ARCHITECTURE" = "arm64" ]; then
1212
ALT_ARCHITECTURE=amd64
1313
else
1414
echo "Supported architectures are only amd64 and arm64."

0 commit comments

Comments
 (0)