mirror of
https://github.com/ansible/ansible-documentation.git
synced 2026-03-26 13:18:58 +07:00
Delete all compiled python files when running hacking/env-setup
This commit is contained in:
@@ -57,8 +57,10 @@ fi
|
||||
cd "$ANSIBLE_HOME"
|
||||
if [ "$verbosity" = silent ] ; then
|
||||
gen_egg_info > /dev/null 2>&1
|
||||
rm **/*.pyc > /dev/null 2>&1
|
||||
else
|
||||
gen_egg_info
|
||||
rm **/*.pyc
|
||||
fi
|
||||
cd "$current_dir"
|
||||
)
|
||||
|
||||
@@ -43,6 +43,7 @@ if test -e $PREFIX_PYTHONPATH/ansible*.egg-info
|
||||
rm -r $PREFIX_PYTHONPATH/ansible*.egg-info
|
||||
end
|
||||
mv ansible*egg-info $PREFIX_PYTHONPATH
|
||||
rm **/*.pyc
|
||||
popd
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user