Merge "find should use portable options"

This commit is contained in:
Jenkins 2015-06-30 19:47:35 +00:00 committed by Gerrit Code Review
commit 4029812f5b

View File

@ -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