Fix rm call in hacking/env-setup. Since it is sourced from a user shell,

rm can have an alias to 'rm -i', which will make sourcing hang when '-q'
is enabled.
pull/11967/head
Jody Frankowski 9 years ago
parent 245e0dd4b7
commit bc1e1d2cdc

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