|
@@ -38,7 +38,7 @@ export DEPOT_TOOLS_DIR="${DEPOT_TOOLS_DIR:-$(dirname "$0")}"
|
|
export DEPOT_TOOLS_UNAME_S="${DEPOT_TOOLS_UNAME_S:-$(uname -s | tr '[:upper:]' '[:lower:]')}"
|
|
export DEPOT_TOOLS_UNAME_S="${DEPOT_TOOLS_UNAME_S:-$(uname -s | tr '[:upper:]' '[:lower:]')}"
|
|
|
|
|
|
source "${DEPOT_TOOLS_DIR}/cipd_bin_setup.sh"
|
|
source "${DEPOT_TOOLS_DIR}/cipd_bin_setup.sh"
|
|
-cipd_bin_setup &> /dev/null
|
|
|
|
|
|
+CIPD_ROOT=$(cipd_bin_setup) &> /dev/null
|
|
|
|
|
|
# Don't pass this to the Python script as it might turn around and run commands
|
|
# Don't pass this to the Python script as it might turn around and run commands
|
|
# in other depot_tools dirs.
|
|
# in other depot_tools dirs.
|
|
@@ -49,6 +49,6 @@ mingw*|cygwin*)
|
|
cmd.exe //c $0.bat "$@"
|
|
cmd.exe //c $0.bat "$@"
|
|
;;
|
|
;;
|
|
*)
|
|
*)
|
|
- exec "${base_dir}/.cipd_bin/vpython3" "$@"
|
|
|
|
|
|
+ exec "$CIPD_ROOT/vpython3" "$@"
|
|
;;
|
|
;;
|
|
esac
|
|
esac
|