OLD | NEW |
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
| 3 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. |
| 6 |
3 exec_dir=$(dirname $0) | 7 exec_dir=$(dirname $0) |
4 | 8 |
5 PYTHON_PROG=python | 9 PYTHON_PROG=python |
6 # When not using the included python, we don't get automatic site.py paths. | 10 # When not using the included python, we don't get automatic site.py paths. |
7 # Specifically, rebaseline.py needs the paths in: | 11 # Specifically, rebaseline.py needs the paths in: |
8 # third_party/python_24/Lib/site-packages/google.pth | 12 # third_party/python_24/Lib/site-packages/google.pth |
9 PYTHONPATH="${exec_dir}/../../../tools/python:$PYTHONPATH" | 13 PYTHONPATH="${exec_dir}/../../../tools/python:$PYTHONPATH" |
10 export PYTHONPATH | 14 export PYTHONPATH |
11 | 15 |
12 "$PYTHON_PROG" "$exec_dir/rebaseline.py" "$@" | 16 "$PYTHON_PROG" "$exec_dir/rebaseline.py" "$@" |
OLD | NEW |