Merge "Remove all *.pyc files in $DEST when executing clean.sh"

This commit is contained in:
Jenkins 2016-11-28 23:45:16 +00:00 committed by Gerrit Code Review
commit 25dd43b881
1 changed files with 5 additions and 0 deletions

View File

@ -147,3 +147,8 @@ for file in $FILES_TO_CLEAN; do
done
rm -rf ~/.config/openstack
# Clean up all *.pyc files
if [[ -n "$DEST" ]] && [[ -d "$DEST" ]]; then
sudo find $DEST -name "*.pyc" -print0 | xargs -0 rm
fi