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

Disable egg generation in a way that works on bash

This commit is contained in:
Toshio Kuratomi 2015-01-14 12:55:25 -08:00
parent 67c988411b
commit 6e6d291f59

10
v2/hacking/env-setup Executable file → Normal file
View file

@ -38,13 +38,13 @@ gen_egg_info()
# In some shells if pushd is a no-op then popd sends you to a previous # In some shells if pushd is a no-op then popd sends you to a previous
# directory in history # directory in history
if [ "$ANSIBLE_HOME" != "$PWD" ] ; then #if [ "$ANSIBLE_HOME" != "$PWD" ] ; then
pushd "$ANSIBLE_HOME" # pushd "$ANSIBLE_HOME"
# gen_egg_info # gen_egg_info
popd # popd
else #else
# gen_egg_info # gen_egg_info
fi #fi
# Print out values unless -q is set # Print out values unless -q is set