aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKenjiro Nakayama <nakayamakenjiro@gmail.com>2024-12-18 09:38:35 +0900
committerKenjiro Nakayama <nakayamakenjiro@gmail.com>2024-12-18 09:39:26 +0900
commit12031e4e9a1f46ae41d936e2f1a5261a95cb85f8 (patch)
tree9611d80cb3608d57d1402ecc80e0aa27aa563047 /scripts
parent9ed5c54fed283b05fe0a89f47fbfcc302372ad42 (diff)
downloadportable-12031e4e9a1f46ae41d936e2f1a5261a95cb85f8.tar.gz
portable-12031e4e9a1f46ae41d936e2f1a5261a95cb85f8.tar.bz2
portable-12031e4e9a1f46ae41d936e2f1a5261a95cb85f8.zip
Move ARCH check
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/test b/scripts/test
index e3044b0..1fb02eb 100755
--- a/scripts/test
+++ b/scripts/test
@@ -2,6 +2,10 @@
2set -e 2set -e
3set -x 3set -x
4 4
5if [ "$ARCH" = "" ]; then
6 ARCH=`uname -m`
7fi
8
5if [ "$ARCH" = "mingw32" -o "$ARCH" = "mingw64" -o "$ARCH" = "arm32" ]; then 9if [ "$ARCH" = "mingw32" -o "$ARCH" = "mingw64" -o "$ARCH" = "arm32" ]; then
6 unset CC 10 unset CC
7fi 11fi
@@ -18,10 +22,6 @@ fi
18 22
19VERSION=`cat VERSION` 23VERSION=`cat VERSION`
20 24
21if [ "$ARCH" = "" ]; then
22 ARCH=`uname -m`
23fi
24
25# test macOS 25# test macOS
26if [ `uname` = "Darwin" ]; then 26if [ `uname` = "Darwin" ]; then
27 # test autotools 27 # test autotools