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

Side by Side Diff: webkit/tools/layout_tests/layout_package/http_server.sh

Issue 174372: Add license information to our shell scripts. (Closed)
Patch Set: Created 11 years, 3 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 unified diff | Download patch
OLDNEW
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 if [ "$OSTYPE" = "cygwin" ]; then 9 if [ "$OSTYPE" = "cygwin" ]; then
6 system_root=`cygpath "$SYSTEMROOT"` 10 system_root=`cygpath "$SYSTEMROOT"`
7 PATH="/usr/bin:$system_root/system32:$system_root:$system_root/system32/WBEM" 11 PATH="/usr/bin:$system_root/system32:$system_root:$system_root/system32/WBEM"
8 export PATH 12 export PATH
9 python_prog="$exec_dir/../../../../third_party/python_24/python.exe" 13 python_prog="$exec_dir/../../../../third_party/python_24/python.exe"
10 else 14 else
11 python_prog=python 15 python_prog=python
12 # When not using the included python, we don't get automatic site.py paths. 16 # When not using the included python, we don't get automatic site.py paths.
13 # Specifically, run_webkit_tests needs the paths in: 17 # Specifically, run_webkit_tests needs the paths in:
14 # third_party/python_24/Lib/site-packages/google.pth 18 # third_party/python_24/Lib/site-packages/google.pth
15 PYTHONPATH="${exec_dir}/../../../../tools/python:$PYTHONPATH" 19 PYTHONPATH="${exec_dir}/../../../../tools/python:$PYTHONPATH"
16 export PYTHONPATH 20 export PYTHONPATH
17 fi 21 fi
18 22
19 "$python_prog" "$exec_dir/http_server.py" "$@" 23 "$python_prog" "$exec_dir/http_server.py" "$@"
OLDNEW
« no previous file with comments | « webkit/build/V8Bindings/build-generated-files.sh ('k') | webkit/tools/layout_tests/rebaseline.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698