diff --git a/contrib/release/removepyc.sh b/contrib/release/removepyc.sh index 5df59126..9aaf3658 100755 --- a/contrib/release/removepyc.sh +++ b/contrib/release/removepyc.sh @@ -1,3 +1,3 @@ #!/bin/bash -(cd "{$1:-.}"; +(cd "${1:-.}"; find . -name "*.pyc" | xargs rm -- 2>/dev/null) || echo "ok"