Fix Error: too many arguments. on deactivating anaconda env

This commit is contained in:
Yamashita, Yuu
2015-07-19 01:00:24 +09:00
parent e1523811fb
commit be6701e7b6
4 changed files with 17 additions and 17 deletions

View File

@@ -87,7 +87,7 @@ if [ -n "${conda_env}" ]; then
cat <<EOS
export PYENV_DEACTIVATE="$prefix";
unset PYENV_ACTIVATE;
. "${prefix%/envs/*}/bin/deactivate" "${prefix##*/envs/}";
. "${prefix%/envs/*}/bin/deactivate";
else
EOS
else