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

Fix issue with mixing quoting and glo9bbing.

This commit is contained in:
Toshio Kuratomi 2015-01-18 10:29:07 -08:00
parent 365af69c3e
commit 566a8d1b9d

View file

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