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:27:57 -0500 |
commit | 5fdb83c9c3891ecff4c11d6f42ff128d16440541 (patch) | |
tree | 57bd0eae5e267fbba2c402092c4747311611d530 /update.sh | |
parent | 1a7dced4cd2ec5e89e9ccd39bc8bf58910f0a3f5 (diff) | |
download | portable-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-x | update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -151,7 +151,7 @@ else | |||
151 | $CP $libcrypto_src/opensslv.h include/openssl | 151 | $CP $libcrypto_src/opensslv.h include/openssl |
152 | fi | 152 | fi |
153 | 153 | ||
154 | awk '/LIBRESSL_VERSION_TEXT/ {print $4}' < include/openssl/opensslv.h | cut -d\" -f1 > VERSION | 154 | awk '/LIBRESSL_VERSION_TEXT/ {print $4}' < include/openssl/opensslv.h | cut -d\" -f1 | head -n1 > VERSION |
155 | echo "LibreSSL version `cat VERSION`" | 155 | echo "LibreSSL version `cat VERSION`" |
156 | 156 | ||
157 | # copy libcrypto source | 157 | # copy libcrypto source |