mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
force deletion of .pyc files (#17109)
This commit is contained in:
parent
f4237b2151
commit
81d7e132f9
1 changed files with 2 additions and 2 deletions
|
@ -57,10 +57,10 @@ fi
|
||||||
cd "$ANSIBLE_HOME"
|
cd "$ANSIBLE_HOME"
|
||||||
if [ "$verbosity" = silent ] ; then
|
if [ "$verbosity" = silent ] ; then
|
||||||
gen_egg_info > /dev/null 2>&1
|
gen_egg_info > /dev/null 2>&1
|
||||||
find . -type f -name "*.pyc" -exec rm {} \; > /dev/null 2>&1
|
find . -type f -name "*.pyc" -exec rm -f {} \; > /dev/null 2>&1
|
||||||
else
|
else
|
||||||
gen_egg_info
|
gen_egg_info
|
||||||
find . -type f -name "*.pyc" -exec rm {} \;
|
find . -type f -name "*.pyc" -exec rm -f {} \;
|
||||||
fi
|
fi
|
||||||
cd "$current_dir"
|
cd "$current_dir"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue