Browse code

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

Jenkins authored on 2016/11/29 08:45:16
Showing 1 changed files
... ...
@@ -147,3 +147,8 @@ for file in $FILES_TO_CLEAN; do
147 147
 done
148 148
 
149 149
 rm -rf ~/.config/openstack
150
+
151
+# Clean up all *.pyc files
152
+if [[ -n "$DEST" ]] && [[ -d "$DEST" ]]; then
153
+    sudo find $DEST -name "*.pyc" -print0 | xargs -0 rm
154
+fi