blob: 938012cfe134b8d03dd41dbc4770a0d80da5e643 [file] [log] [blame]
Mike Frysinger55504ee2018-10-10 15:53:27 -04001# -*- coding: utf-8 -*-
2# Copyright 2018 The Chromium OS 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
6"""Wrapper around gsutil.
7
8This takes care of downloading the pinned version we use in chromite.
9"""
10
11from __future__ import print_function
12
13import os
14
15from chromite.lib import gs
16
17
18def main(argv):
19 gsutil = gs.GSContext.GetDefaultGSUtilBin()
20 os.execv(gsutil, ['gsutil'] + argv)