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()
{
if [ -e "$PREFIX_PYTHONPATH/ansible.egg-info" ] ; then
rm -r "$PREFIX_PYTHONPATH/ansible.egg-info"
\rm -r "$PREFIX_PYTHONPATH/ansible.egg-info"
fi
python setup.py egg_info
}