Commit 820410ca authored by maruel@google.com's avatar maruel@google.com

Use the exec statement to fix the control flow.

TBR=nsylvain
Review URL: http://codereview.chromium.org/93110

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14404 0039d316-1c4b-4281-b951-d872f2087c98
parent 9b613270
......@@ -15,4 +15,3 @@ then
fi
exec python "$base_dir/../gclient.py" "$@"
......@@ -14,8 +14,7 @@ then
svn -q up "$base_dir/bootstrap"
# Then defer the control to the bootstrapper.
"$base_dir/bootstrap/gclient.sh" "$@"
exec "$base_dir/bootstrap/gclient.sh" "$@"
else
exec "$base_dir/gclient.py" "$@"
exec python "$base_dir/gclient.py" "$@"
fi
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