Skip to content

Commit

Permalink
read VERSION after it is generated by update script
Browse files Browse the repository at this point in the history
  • Loading branch information
busterb committed Apr 9, 2024
1 parent 5fdb83c commit 9c40be2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/test
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ set -x

unset CC
ENABLE_ASM="${ENABLE_ASM:=ON}"
VERSION=`cat VERSION`

if type apt-get >/dev/null 2>&1; then
sudo apt-get update
Expand All @@ -14,6 +13,8 @@ fi
# generate source tree
./autogen.sh

VERSION=`cat VERSION`

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

0 comments on commit 9c40be2

Please sign in to comment.