blob: 67d3bb9a25f5042ff7dcfdf97e4a281540fd35d6 [file] [log] [blame]
#!/usr/bin/python
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# TODO(ferringb): remove this as soon as depot_tools is gutted of its
# import logic, and is just a re-exec.
import os
import sys
def main():
# Bypass all of chromite_wrappers attempted 'help', and execve to the actual
# cros_sdk wrapper/helper chromite has.
location = os.path.dirname(os.path.abspath(__file__))
location = os.path.join(location, 'cros_sdk')
os.execv(location, [location] + sys.argv[1:])
if __name__ == '__main__':
main()