1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #11967 from jody-frankowski/fix-env-setup-rm2

Fix rm call in hacking/env-setup. Since it is sourced from a user shell,
This commit is contained in:
Brian Coca 2015-08-14 19:31:10 -04:00
commit 3b75f3d26a

View file

@ -43,7 +43,7 @@ expr "$MANPATH" : "${PREFIX_MANPATH}.*" > /dev/null || export MANPATH="$PREFIX_M
gen_egg_info() gen_egg_info()
{ {
if [ -e "$PREFIX_PYTHONPATH/ansible.egg-info" ] ; then if [ -e "$PREFIX_PYTHONPATH/ansible.egg-info" ] ; then
rm -r "$PREFIX_PYTHONPATH/ansible.egg-info" \rm -r "$PREFIX_PYTHONPATH/ansible.egg-info"
fi fi
python setup.py egg_info python setup.py egg_info
} }