Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/bin/bash | |
| 2 # Copyright (c) 2010 The Chromium OS 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 file is copied by repo's copyfile mechanism to the root of the source | |
| 7 # tree as 'chromite' to make it easy to run chromite. | |
| 8 | |
| 9 # Find the directory of this script; script needs bash (not just sh) for this | |
| 10 # to work reliably if chromite is in the path. | |
| 11 MY_DIR=$(dirname "$0") | |
| 12 | |
| 13 # The real chromite should be in src/scripts/chromite once this script is | |
| 14 # copied to its final destination. | |
| 15 exec $MY_DIR/src/scripts/chromite/chromite "$@" | |
|
sosa
2010/12/22 22:01:27
I find this kinda awkward. Why in the root ?
| |
| OLD | NEW |