bin/sync
raw| 1 | #!/usr/bin/env python3 |
| 2 | # Copyright 2016 Google Inc. |
| 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
| 5 | |
| 6 | """ |
| 7 | Calls `GIT_SYNC_DEPS_QUIET=T tools/git-sync-deps`. |
| 8 | """ |
| 9 | |
| 10 | import os |
| 11 | import subprocess |
| 12 | import sys |
| 13 | |
| 14 | path = os.path.dirname(__file__) + '/../tools/git-sync-deps' |
| 15 | subprocess.check_call([sys.executable, path] + sys.argv[:1], |
| 16 | env=dict(os.environ, GIT_SYNC_DEPS_QUIET='T')) |