blob: 4ff6b3cbdaed8521a262fcca4860fc94c74b8db7 [file] [log] [blame]
[email protected]3bb0d6f2010-11-15 17:01:521#!/usr/bin/env bash
[email protected]fb2b8eb2009-04-23 21:03:422# 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]fb2b8eb2009-04-23 21:03:426base_dir=$(dirname "$0")
[email protected]522ca092009-06-17 18:35:187
Oleh Prypin684313d2018-10-03 18:02:128if [[ "#grep#fetch#cleanup#diff#setdep#" != *"#$1#"* ]]; then
[email protected]69b67582014-11-25 23:34:419 "$base_dir"/update_depot_tools "$@"
[email protected]3466b0d2016-04-04 19:50:2010 case $? in
11 123)
12 # msys environment was upgraded, need to quit.
13 exit 0
14 ;;
15 0)
16 ;;
17 *)
18 exit $?
19 esac
[email protected]3addce32012-11-08 23:02:1320fi
[email protected]522ca092009-06-17 18:35:1821
[email protected]405b87e2015-11-12 18:08:3422PYTHONDONTWRITEBYTECODE=1 exec python "$base_dir/gclient.py" "$@"