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:
parent
365af69c3e
commit
566a8d1b9d
1 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue