From 318592bc0bd706d844a5e588593bb45a742bb8e9 Mon Sep 17 00:00:00 2001 From: "sergiyb@chromium.org" Date: Mon, 1 Jun 2015 13:31:45 +0000 Subject: [PATCH] Added commit_queue binaries for Windows and Linux R=pgervais@chromium.org Review URL: https://codereview.chromium.org/1154623004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295468 0039d316-1c4b-4281-b951-d872f2087c98 --- commit_queue | 8 ++++++++ commit_queue.bat | 11 +++++++++++ 2 files changed, 19 insertions(+) create mode 100755 commit_queue create mode 100755 commit_queue.bat diff --git a/commit_queue b/commit_queue new file mode 100755 index 000000000..db8b9048e --- /dev/null +++ b/commit_queue @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# Copyright 2015 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +base_dir=$(dirname "$0") + +PYTHONDONTWRITEBYTECODE=1 exec python "$base_dir/commit_queue.py" "$@" diff --git a/commit_queue.bat b/commit_queue.bat new file mode 100755 index 000000000..5f6baa379 --- /dev/null +++ b/commit_queue.bat @@ -0,0 +1,11 @@ +@echo off +:: Copyright 2015 The Chromium Authors. All rights reserved. +:: Use of this source code is governed by a BSD-style license that can be +:: found in the LICENSE file. +setlocal + +:: This is required with cygwin only. +PATH=%~dp0;%PATH% + +:: Defer control. +%~dp0python "%~dp0\commit_queue.py" %*