aboutsummaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2024-04-08 20:05:29 -0500
committerBrent Cook <busterb@gmail.com>2024-04-08 20:27:57 -0500
commit5fdb83c9c3891ecff4c11d6f42ff128d16440541 (patch)
tree57bd0eae5e267fbba2c402092c4747311611d530 /update.sh
parent1a7dced4cd2ec5e89e9ccd39bc8bf58910f0a3f5 (diff)
downloadportable-5fdb83c9c3891ecff4c11d6f42ff128d16440541.tar.gz
portable-5fdb83c9c3891ecff4c11d6f42ff128d16440541.tar.bz2
portable-5fdb83c9c3891ecff4c11d6f42ff128d16440541.zip
use a specific version number in test scripts
This avoids issue reported in #1041 with file glob confusing cd. Also remove extra newline from VERSION when update.sh runs.
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index 2154da1..40e207a 100755
--- a/update.sh
+++ b/update.sh
@@ -151,7 +151,7 @@ else
151 $CP $libcrypto_src/opensslv.h include/openssl 151 $CP $libcrypto_src/opensslv.h include/openssl
152fi 152fi
153 153
154awk '/LIBRESSL_VERSION_TEXT/ {print $4}' < include/openssl/opensslv.h | cut -d\" -f1 > VERSION 154awk '/LIBRESSL_VERSION_TEXT/ {print $4}' < include/openssl/opensslv.h | cut -d\" -f1 | head -n1 > VERSION
155echo "LibreSSL version `cat VERSION`" 155echo "LibreSSL version `cat VERSION`"
156 156
157# copy libcrypto source 157# copy libcrypto source