|
@@ -6,9 +6,15 @@
|
|
|
|
|
|
# See revert instructions in cipd_manifest.txt
|
|
# See revert instructions in cipd_manifest.txt
|
|
|
|
|
|
|
|
+# In git bash on Windows, invoke the batch file.
|
|
|
|
+if [ "$(expr "$(uname -s)" : "^MINGW64_NT")" == "10" ]; then
|
|
|
|
+ goma_auth.bat "$@"
|
|
|
|
+ exit
|
|
|
|
+fi
|
|
|
|
+
|
|
MYPATH=$(dirname "${BASH_SOURCE[0]}")
|
|
MYPATH=$(dirname "${BASH_SOURCE[0]}")
|
|
|
|
|
|
source "$MYPATH/cipd_bin_setup.sh"
|
|
source "$MYPATH/cipd_bin_setup.sh"
|
|
cipd_bin_setup &> /dev/null
|
|
cipd_bin_setup &> /dev/null
|
|
|
|
|
|
-PYTHONDONTWRITEBYTECODE=1 exec python "$MYPATH/.cipd_bin/goma_auth.py" "$@"
|
|
|
|
|
|
+PYTHONDONTWRITEBYTECODE=1 exec python3 "$MYPATH/.cipd_bin/goma_auth.py" "$@"
|