improve update version script (#1741)

This commit is contained in:
Denys Vuika 2020-10-14 10:38:38 +01:00 committed by GitHub
parent b50b3f143d
commit 72254a4bce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,9 @@ libslength=${#libs[@]}
echo "====== Updating dependencies ======"
update
if [[ "${JS_VERSION}" != "" ]]
if [[ "${JS_VERSION}" == "" ]]
then
update_js_api
JS_VERSION=$VERSION
fi
update_js_api