Skip to content

Commit

Permalink
Move ARCH check
Browse files Browse the repository at this point in the history
  • Loading branch information
nak3 committed Dec 18, 2024
1 parent 9ed5c54 commit 12031e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/test
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
set -e
set -x

if [ "$ARCH" = "" ]; then
ARCH=`uname -m`
fi

if [ "$ARCH" = "mingw32" -o "$ARCH" = "mingw64" -o "$ARCH" = "arm32" ]; then
unset CC
fi
Expand All @@ -18,10 +22,6 @@ fi

VERSION=`cat VERSION`

if [ "$ARCH" = "" ]; then
ARCH=`uname -m`
fi

# test macOS
if [ `uname` = "Darwin" ]; then
# test autotools
Expand Down

0 comments on commit 12031e4

Please sign in to comment.