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,
pull/11969/head
Brian Coca 9 years ago
commit 3b75f3d26a

@ -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
} }

Loading…
Cancel
Save