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