From 5dff29772d76ae37c470ecddb208ef315a0373b0 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Wed, 14 Jul 2010 19:26:24 +0200 Subject: [PATCH] fix find invocation such that it doesn't try to check all .hg files --- tarball.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tarball.sh b/tarball.sh index 78ee0a73c..58c926620 100755 --- a/tarball.sh +++ b/tarball.sh @@ -14,9 +14,9 @@ export V="$1" export DEST="${TMP}/${PKG}-${V}" ./tabcheck.py $( - find ./ -name .git -prune -name .hg -prune -o -type f ! -name '*.py' -print \ + find ./ -name .git -o -name .hg -prune -o -type f ! -name '*.py' -print \ | xargs grep -l "#\!@PORTAGE_PYTHON@" - find ./ -name .git -prune -name .hg -prune -o -type f -name '*.py' -print + find ./ -name .git -o -name .hg -prune -o -type f -name '*.py' -print ) if [[ -e ${DEST} ]]; then -- 2.26.2