Skip to content

Commit 380d51c

Browse files
authored
Update build.sh
1 parent 25698f0 commit 380d51c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -e
33

44
# Define the targets.
55
API="30"
6-
ALLOWED=("armeabi-v7a" "arm64-v8a" "x86" "x86_64")
6+
ARCHITECTURES=("armeabi-v7a" "arm64-v8a" "x86" "x86_64")
77

88

99
help() {
@@ -35,7 +35,7 @@ fi
3535

3636
architecture="$1"
3737

38-
if [[ ! " ${ALLOWED[@]} " =~ " $architecture " ]]; then
38+
if [[ ! " ${ARCHITECTURES[@]} " =~ " $architecture " ]]; then
3939
echo "Error: '$architecture' is not in the allowed archs"
4040
help
4141
exit 1

0 commit comments

Comments
 (0)