Do not set ANSIBLE_LIBRARY in env-setup.fish (#63688)

Setting this env var was removed from env-setup back in 2014. Not sure why it is in this setup script and it interferes with the defult search path
This commit is contained in:
Sam Doran 2019-10-18 10:56:19 -04:00 committed by Brian Coca
parent 741d529409
commit 4de516d35f

View file

@ -57,15 +57,13 @@ if not set -q PYTHON_BIN
end
end
set -gx ANSIBLE_LIBRARY $ANSIBLE_HOME/library
#
# Generate egg_info so that pkg_resources works
#
# Do the work in a fuction
function gen_egg_info
# Cannot use `test` on wildcards.
# Cannot use `test` on wildcards.
# @see https://github.com/fish-shell/fish-shell/issues/5960
if count $PREFIX_PYTHONPATH/ansible*.egg-info > /dev/null
rm -rf $PREFIX_PYTHONPATH/ansible*.egg-info