[email protected] | 3bb0d6f | 2010-11-15 17:01:52 | [diff] [blame] | 1 | #!/usr/bin/env bash |
[email protected] | fb2b8eb | 2009-04-23 21:03:42 | [diff] [blame] | 2 | # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
3 | # Use of this source code is governed by a BSD-style license that can be | ||||
4 | # found in the LICENSE file. | ||||
5 | |||||
[email protected] | fb2b8eb | 2009-04-23 21:03:42 | [diff] [blame] | 6 | base_dir=$(dirname "$0") |
[email protected] | 522ca09 | 2009-06-17 18:35:18 | [diff] [blame] | 7 | |
[email protected] | 38c4426 | 2012-11-09 06:53:41 | [diff] [blame] | 8 | if [[ "#grep#fetch#cleanup#diff#" != *"#$1#"* ]]; then |
[email protected] | 3addce3 | 2012-11-08 23:02:13 | [diff] [blame] | 9 | "$base_dir"/update_depot_tools |
10 | fi | ||||
[email protected] | 522ca09 | 2009-06-17 18:35:18 | [diff] [blame] | 11 | |
[email protected] | 6911307 | 2014-01-16 21:35:01 | [diff] [blame] | 12 | PYTHONDONTWRITEBYTECODE=1 exec python "$base_dir/gclient.py" "$@" |