mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Port sivel's fix for egg_info (#10563) to v2
This commit is contained in:
parent
ce512e18f0
commit
4aa3ac41a1
1 changed files with 1 additions and 2 deletions
|
@ -42,11 +42,10 @@ expr "$MANPATH" : "${PREFIX_MANPATH}.*" > /dev/null || export MANPATH="$PREFIX_M
|
|||
# Do the work in a function so we don't repeat ourselves later
|
||||
gen_egg_info()
|
||||
{
|
||||
python setup.py egg_info
|
||||
if [ -e "$PREFIX_PYTHONPATH/ansible.egg-info" ] ; then
|
||||
rm -r "$PREFIX_PYTHONPATH/ansible.egg-info"
|
||||
fi
|
||||
mv "ansible.egg-info" "$PREFIX_PYTHONPATH"
|
||||
python setup.py egg_info
|
||||
}
|
||||
|
||||
if [ "$ANSIBLE_HOME" != "$PWD" ] ; then
|
||||
|
|
Loading…
Reference in a new issue