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

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.
This commit is contained in:
Jody Frankowski 2015-08-15 00:43:45 +02:00
parent 245e0dd4b7
commit bc1e1d2cdc

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