Merge "find should use portable options"
This commit is contained in:
commit
4029812f5b
@ -658,7 +658,7 @@ BASEDIR=$(dirname "$(readlink -e "$0")")
|
||||
if [ -d "$BASEDIR"/.git ]
|
||||
then
|
||||
SOURCEDIR=$BASEDIR
|
||||
if find . -regex '.+\.py[co]$' -delete
|
||||
if find . -name '*.py[co]' -exec rm -f {} +
|
||||
then
|
||||
echo "Wiped python compiled files."
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user