Skip to content
Snippets Groups Projects
Commit 118cc029 authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

cleaner virtualenv runner

parent 54545df9
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment