diff options
| -rwxr-xr-x | python_install.sh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/python_install.sh b/python_install.sh index f970675..cf17cde 100755 --- a/python_install.sh +++ b/python_install.sh @@ -141,10 +141,13 @@ install_virtualenv() main() { - local python="${1}"; shift; - local _install_dir="${1}"; shift; - local install_dir="$(readlink -f "${_install_dir}")"; - local env_dir="${install_dir}/env"; + local python; + local _env_dir; + local env_dir; + + python="${1}"; shift; + _env_dir="${1}"; shift; + env_dir="$(readlink -f "${_env_dir}")"; trap 'cleanup' INT TERM EXIT |
