From 5b2404ab0b2f07d91ff3abe7cfba08567a1fb5ba Mon Sep 17 00:00:00 2001 From: Ask Solem Date: Wed, 14 Sep 2011 00:51:34 +0100 Subject: [PATCH] Fixes removepyc script --- contrib/release/removepyc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"