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
experimental/szager/collated-output
maruel@google.com 17 years ago
parent 9b613270be
commit 820410ca10

@ -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

Loading…
Cancel
Save