Skip to content

Commit 25ab274

Browse files
Added posix and windows runner scripts for download_from_google_storage.py
Windows bots are having trouble calling download_from_google_storage.py from the DEPS hooks. This should allow it to be called as just "download_from_google_storage". BUG= [email protected] Review URL: https://codereview.chromium.org/15395002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@200939 0039d316-1c4b-4281-b951-d872f2087c98
1 parent 29e4727 commit 25ab274

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

download_from_google_storage

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
# 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+
6+
base_dir=$(dirname "$0")
7+
8+
PYTHONDONTWRITEBYTECODE=1 exec python "$base_dir/download_from_google_storage.py" "$@"

download_from_google_storage.bat

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@echo off
2+
:: Copyright (c) 2012 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+
6+
:: This is required with cygwin only.
7+
PATH=%~dp0;%PATH%
8+
9+
:: Defer control.
10+
%~dp0python "%~dp0\download_from_google_storage.py" %*

0 commit comments

Comments
 (0)