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:05:29 -0500
commit9091d5551c40315149912ff447264bde8e811453 (patch)
tree21a819cbf5e38a419614654ac4216804de860738 /update.sh
parent7362be429ccf7c8381cc3e7f91c1a57ff1a11f7f (diff)
downloadportable-9091d5551c40315149912ff447264bde8e811453.tar.gz
portable-9091d5551c40315149912ff447264bde8e811453.tar.bz2
portable-9091d5551c40315149912ff447264bde8e811453.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 3e6dc5d..84bc0d2 100755
--- a/update.sh
+++ b/update.sh
@@ -149,7 +149,7 @@ else
149 $CP $libcrypto_src/opensslv.h include/openssl 149 $CP $libcrypto_src/opensslv.h include/openssl
150fi 150fi
151 151
152awk '/LIBRESSL_VERSION_TEXT/ {print $4}' < include/openssl/opensslv.h | cut -d\" -f1 > VERSION 152awk '/LIBRESSL_VERSION_TEXT/ {print $4}' < include/openssl/opensslv.h | cut -d\" -f1 | head -n1 > VERSION
153echo "LibreSSL version `cat VERSION`" 153echo "LibreSSL version `cat VERSION`"
154 154
155# copy libcrypto source 155# copy libcrypto source