mirror of https://github.com/celery/kombu.git
Improve removepyc script
This commit is contained in:
parent
281916716c
commit
ddae2aa201
|
@ -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