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:28:17 -0500
commit7a5a03ef8504e2b3faf1f34a8d38d3e6e0dfa18a (patch)
treeb602308f10444c2867c844ef4ef3ad012990f066 /update.sh
parent624f5579fa54a6b6df982d2481f43b8d0ca8729e (diff)
downloadportable-7a5a03ef8504e2b3faf1f34a8d38d3e6e0dfa18a.tar.gz
portable-7a5a03ef8504e2b3faf1f34a8d38d3e6e0dfa18a.tar.bz2
portable-7a5a03ef8504e2b3faf1f34a8d38d3e6e0dfa18a.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 f7c48ee..9540a76 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