diff --git a/tools/server_tests b/tools/server_tests index ba3114ea6..8139f9896 100755 --- a/tools/server_tests +++ b/tools/server_tests @@ -31,11 +31,11 @@ pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null cd "$(dirname $0)/.." # Parse arguments and set flags -SKIP_UPDATE_TRANSLATIONS='false' +SKIP_UPDATE_TRANSLATIONS=false for arg in "$@"; do shift if [[ "${arg}" == "--skip_update_translations" ]]; then - SKIP_UPDATE_TRANSLATIONS='true' + SKIP_UPDATE_TRANSLATIONS=true continue fi # All arguments other than "--skip_update_translations" remains intact @@ -44,7 +44,7 @@ done readonly SKIP_UPDATE_TRANSLATIONS echo -if [[ "${SKIP_UPDATE_TRANSLATIONS}" == 'true' ]]; then +if [[ "${SKIP_UPDATE_TRANSLATIONS}" == true ]]; then echo "--- Skipped updating translations" else echo "--- Updating translations"