Fix issue with mixing quoting and glo9bbing.

pull/10039/head
Toshio Kuratomi 10 years ago
parent 365af69c3e
commit 566a8d1b9d

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

Loading…
Cancel
Save