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:
parent
741d529409
commit
4de516d35f
|
@ -57,15 +57,13 @@ if not set -q PYTHON_BIN
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
set -gx ANSIBLE_LIBRARY $ANSIBLE_HOME/library
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Generate egg_info so that pkg_resources works
|
# Generate egg_info so that pkg_resources works
|
||||||
#
|
#
|
||||||
|
|
||||||
# Do the work in a fuction
|
# Do the work in a fuction
|
||||||
function gen_egg_info
|
function gen_egg_info
|
||||||
# Cannot use `test` on wildcards.
|
# Cannot use `test` on wildcards.
|
||||||
# @see https://github.com/fish-shell/fish-shell/issues/5960
|
# @see https://github.com/fish-shell/fish-shell/issues/5960
|
||||||
if count $PREFIX_PYTHONPATH/ansible*.egg-info > /dev/null
|
if count $PREFIX_PYTHONPATH/ansible*.egg-info > /dev/null
|
||||||
rm -rf $PREFIX_PYTHONPATH/ansible*.egg-info
|
rm -rf $PREFIX_PYTHONPATH/ansible*.egg-info
|
||||||
|
|
Loading…
Reference in a new issue