We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99c5d74 commit 9136df6Copy full SHA for 9136df6
contrib/release/removepyc.sh
@@ -1,3 +1,3 @@
1
#!/bin/bash
2
-find "${1:-.}" -name "*.pyc" | xargs rm
3
-find "${1:-.}" -name "*\$py.class" | xargs rm
+(cd "{$1:-.}";
+ find . -name "*.pyc" | xargs rm -- 2>/dev/null) || echo "ok"
0 commit comments