Merge pull request #13393 from eest/openbsd_find_delete
Replace -delete with portable -exec rm {} \;
This commit is contained in:
commit
df16d26b33
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" -delete > /dev/null 2>&1
|
find . -type f -name "*.pyc" -exec rm {} \; > /dev/null 2>&1
|
||||||
else
|
else
|
||||||
gen_egg_info
|
gen_egg_info
|
||||||
find . -type f -name "*.pyc" -delete
|
find . -type f -name "*.pyc" -exec rm {} \;
|
||||||
fi
|
fi
|
||||||
cd "$current_dir"
|
cd "$current_dir"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue