Skip to content

Commit

Permalink
Do not set ANSIBLE_LIBRARY in env-setup.fish (ansible#63688)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
samdoran authored and bcoca committed Oct 18, 2019
1 parent 741d529 commit 4de516d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hacking/env-setup.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4de516d

Please sign in to comment.