mirror of https://github.com/celery/kombu.git
Improve removepyc script
This commit is contained in:
parent
61b47789f4
commit
92148ac03c
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
find "${1:-.}" -name "*.pyc" | xargs rm
|
||||
find "${1:-.}" -name "*\$py.class" | xargs rm
|
||||
(cd "{$1:-.}";
|
||||
find . -name "*.pyc" | xargs rm -- 2>/dev/null) || echo "ok"
|
||||
|
|
Loading…
Reference in New Issue