blob: 08caffc7d8b3f49679e2c81ca3529c2b25eaa813 [file] [log] [blame]
Mike Frysinger55504ee2018-10-10 15:53:27 -04001# Copyright 2018 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5"""Wrapper around gsutil.
6
7This takes care of downloading the pinned version we use in chromite.
8"""
9
Mike Frysinger55504ee2018-10-10 15:53:27 -040010import os
11
12from chromite.lib import gs
13
14
Mike Frysinger55504ee2018-10-10 15:53:27 -040015def main(argv):
16 gsutil = gs.GSContext.GetDefaultGSUtilBin()
17 os.execv(gsutil, ['gsutil'] + argv)