aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2024-04-08 20:10:31 -0500
committerBrent Cook <busterb@gmail.com>2024-04-08 20:28:21 -0500
commit9474ac0acde99c685140619c0f731be0f929be2d (patch)
treef8cb7a430e21b06d1743d2288011039477d6534e
parent7a5a03ef8504e2b3faf1f34a8d38d3e6e0dfa18a (diff)
downloadportable-OPENBSD_7_4.tar.gz
portable-OPENBSD_7_4.tar.bz2
portable-OPENBSD_7_4.zip
read VERSION after it is generated by update scriptOPENBSD_7_4
-rwxr-xr-xscripts/test3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/test b/scripts/test
index 6d9c15c..a6a4489 100755
--- a/scripts/test
+++ b/scripts/test
@@ -4,7 +4,6 @@ set -x
4 4
5unset CC 5unset CC
6ENABLE_ASM="${ENABLE_ASM:=ON}" 6ENABLE_ASM="${ENABLE_ASM:=ON}"
7VERSION=`cat VERSION`
8 7
9if type apt-get >/dev/null 2>&1; then 8if type apt-get >/dev/null 2>&1; then
10 sudo apt-get update 9 sudo apt-get update
@@ -14,6 +13,8 @@ fi
14# generate source tree 13# generate source tree
15./autogen.sh 14./autogen.sh
16 15
16VERSION=`cat VERSION`
17
17if [ "$ARCH" = "" ]; then 18if [ "$ARCH" = "" ]; then
18 ARCH=`uname -m` 19 ARCH=`uname -m`
19fi 20fi