Commit 3ba37d37 authored by dpranke@chromium.org's avatar dpranke@chromium.org

add auto-update step to 'fetch' wrappers

R=iannucci@chromium.org

Review URL: https://codereview.chromium.org/13618002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@192233 0039d316-1c4b-4281-b951-d872f2087c98
parent cf9846cf
......@@ -5,4 +5,8 @@
base_dir=$(dirname "$0")
if [[ "#grep#fetch#cleanup#diff#" != *"#$1#"* ]]; then
"$base_dir"/update_depot_tools
fi
PYTHONDONTWRITEBYTECODE=1 exec python "$base_dir/fetch.py" "$@"
......@@ -6,5 +6,8 @@
:: This is required with cygwin only.
PATH=%~dp0;%PATH%
:: Synchronize the root directory before deferring control back to gclient.py.
call "%~dp0\update_depot_tools.bat"
:: Defer control.
%~dp0python "%~dp0\fetch.py" %*
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment