Skip to content

Commit 023910b

Browse files
author
caolei
committed
update scripts
1 parent 92ef83a commit 023910b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

clean.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,10 @@ do
2828
rm -rf $dir
2929
done
3030

31-
rm -rf ./__pycache__
31+
py_caches=`find . -name '__pycache__' | xargs`
32+
if [ v"$py_caches" != v"" ];then
33+
echo "del $py_caches"
34+
rm -rf $py_caches
35+
fi
36+
37+
echo "cleanup done !"

0 commit comments

Comments
 (0)