diff --git a/pip-app.sh b/pip-app.sh index 204bc61..b6f3a2c 100644 --- a/pip-app.sh +++ b/pip-app.sh @@ -14,7 +14,7 @@ pip-app () { fi # Create a new virtualenv - virtualenv --distribute "$@" "$venv_dir" + virtualenv "$@" "$venv_dir" # Executables present before installation. local execs_before="$(ls "$venv_dir/bin")" @@ -38,7 +38,7 @@ pip-app () { echo '#!/usr/bin/env bash' echo "# Generated by pip-app. For the app '$name'." echo "source '$venv_dir/bin/activate'" - echo "exec '$venv_dir/bin/$line'" + echo "exec '$venv_dir/bin/$line'" '"$@"' } > "$PIPAPP_DIR/bin/$line" chmod +x "$PIPAPP_DIR/bin/$line" done