From: Fabian Groffen Date: Wed, 14 Jul 2010 17:26:24 +0000 (+0200) Subject: fix find invocation such that it doesn't try to check all .hg files X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=5dff29772d76ae37c470ecddb208ef315a0373b0;p=portage.git fix find invocation such that it doesn't try to check all .hg files --- 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