Commit 118cc029 authored by Kenneth Reitz's avatar Kenneth Reitz

cleaner virtualenv runner

parent 54545df9
...@@ -23,13 +23,8 @@ indent() { ...@@ -23,13 +23,8 @@ indent() {
[ $(uname) == "Darwin" ] && sed -l "$RE" || sed -u "$RE" [ $(uname) == "Darwin" ] && sed -l "$RE" || sed -u "$RE"
} }
virtualenv() { function virtualenv (){
python - "$@" <<EOF python "$ROOT_DIR/src/virtualenv-1.7/virtualenv.py" "$@"
import sys
sys.path.insert(0, "$ROOT_DIR/src/virtualenv-1.7")
import virtualenv
virtualenv.main()
EOF
} }
cd $BUILD_DIR cd $BUILD_DIR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment