diff --git a/src/upload_java_tools.sh b/src/upload_java_tools.sh index 4221383f88d562..2dee86c2fdd951 100755 --- a/src/upload_java_tools.sh +++ b/src/upload_java_tools.sh @@ -104,7 +104,7 @@ EOF zip -rv "${tmp_zip}" "${readme_file}" gsutil_cmd="gsutil" -if [[ "$platform" == "windows" ]]; then +if "$is_windows"; then gsutil_cmd="gsutil.cmd" fi