Merge pull request #3246 from SimonSapin/wpt-python2

Fix WPT when /usr/bin/python is python3
This commit is contained in:
Josh Matthews 2014-09-08 10:06:41 -04:00
commit db2f642c32

View file

@ -9,7 +9,7 @@ objdir="$2"
shift 2
cd $objdir/..
test -d _virtualenv || virtualenv _virtualenv
test -d _virtualenv || virtualenv _virtualenv -p $(which $PYTHON)
test -d $servo_root/src/test/wpt/metadata || mkdir -p $servo_root/src/test/wpt/metadata
test -d $servo_root/src/test/wpt/prefs || mkdir -p $servo_root/src/test/wpt/prefs
source _virtualenv/bin/activate