Skip to content

Commit aa70947

Browse files
fix: syntax error
1 parent 58d35cf commit aa70947

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tools/dep_updaters/update-openssl.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ console.log(tag_name.replace('openssl-', ''));
2323
EOF
2424
)"
2525

26-
NEW_VERSION_NO_RELEASE_1=$(case "$NEW_VERSION" in *quic1) echo "${NEW_VERSION%1}" ;; *) echo "$NEW_VERSION" ;; esac)
26+
case "$NEW_VERSION" in
27+
*quic1) NEW_VERSION_NO_RELEASE_1="${NEW_VERSION%1}" ;;
28+
*) NEW_VERSION_NO_RELEASE_1="$NEW_VERSION" ;;
29+
esac
2730
VERSION_H="./deps/openssl/config/archs/linux-x86_64/asm/include/openssl/opensslv.h"
2831
CURRENT_VERSION=$(grep "OPENSSL_FULL_VERSION_STR" $VERSION_H | sed -n "s/^.*VERSION_STR \"\(.*\)\"/\1/p" | sed 's/+/-/g')
2932
echo "Comparing $NEW_VERSION_NO_RELEASE_1 with $CURRENT_VERSION"

0 commit comments

Comments
 (0)