Skip to content

Commit 12031e4

Browse files
committed
Move ARCH check
1 parent 9ed5c54 commit 12031e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/test

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
set -e
33
set -x
44

5+
if [ "$ARCH" = "" ]; then
6+
ARCH=`uname -m`
7+
fi
8+
59
if [ "$ARCH" = "mingw32" -o "$ARCH" = "mingw64" -o "$ARCH" = "arm32" ]; then
610
unset CC
711
fi
@@ -18,10 +22,6 @@ fi
1822

1923
VERSION=`cat VERSION`
2024

21-
if [ "$ARCH" = "" ]; then
22-
ARCH=`uname -m`
23-
fi
24-
2525
# test macOS
2626
if [ `uname` = "Darwin" ]; then
2727
# test autotools

0 commit comments

Comments
 (0)