diff options
author | Brent Cook <busterb@gmail.com> | 2024-04-08 20:05:29 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2024-04-08 20:05:29 -0500 |
commit | 9091d5551c40315149912ff447264bde8e811453 (patch) | |
tree | 21a819cbf5e38a419614654ac4216804de860738 /update.sh | |
parent | 7362be429ccf7c8381cc3e7f91c1a57ff1a11f7f (diff) | |
download | portable-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-x | update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -149,7 +149,7 @@ else | |||
149 | $CP $libcrypto_src/opensslv.h include/openssl | 149 | $CP $libcrypto_src/opensslv.h include/openssl |
150 | fi | 150 | fi |
151 | 151 | ||
152 | awk '/LIBRESSL_VERSION_TEXT/ {print $4}' < include/openssl/opensslv.h | cut -d\" -f1 > VERSION | 152 | awk '/LIBRESSL_VERSION_TEXT/ {print $4}' < include/openssl/opensslv.h | cut -d\" -f1 | head -n1 > VERSION |
153 | echo "LibreSSL version `cat VERSION`" | 153 | echo "LibreSSL version `cat VERSION`" |
154 | 154 | ||
155 | # copy libcrypto source | 155 | # copy libcrypto source |