| 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 "$@"
|
|
|