Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6117)

Unified Diff: chromite/chromite.sh

Issue 6005004: WIP Chromite supporting "LEGACY" mode, as requested by Anush. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils.git@master
Patch Set: Fixes for sosa's code review comments. Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chromite/chromite.sh
diff --git a/chromite/chromite.sh b/chromite/chromite.sh
new file mode 100755
index 0000000000000000000000000000000000000000..71b0fc8dde6b47a6074d18db6d05e94687c99a0d
--- /dev/null
+++ b/chromite/chromite.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+# Copyright (c) 2010 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.
+
+# This file is copied by repo's copyfile mechanism to the root of the source
+# tree as 'chromite' to make it easy to run chromite.
+
+# Find the directory of this script; script needs bash (not just sh) for this
+# to work reliably if chromite is in the path.
+MY_DIR=$(dirname "$0")
+
+# The real chromite should be in src/scripts/chromite once this script is
+# copied to its final destination.
+exec $MY_DIR/src/scripts/chromite/chromite "$@"
« chromite/chromite.py ('K') | « chromite/chromite.py ('k') | chromite/chromite_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698