1 |
commit: 047e530f5fafc660274b762754663ceaf111df13 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 8 21:34:59 2014 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 8 21:34:59 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qa-scripts.git;a=commit;h=047e530f |
7 |
|
8 |
Also exclude ./packages from find. |
9 |
|
10 |
--- |
11 |
find-binary-files.sh | 3 ++- |
12 |
1 file changed, 2 insertions(+), 1 deletion(-) |
13 |
|
14 |
diff --git a/find-binary-files.sh b/find-binary-files.sh |
15 |
index 17bdc0a..2bf73ab 100755 |
16 |
--- a/find-binary-files.sh |
17 |
+++ b/find-binary-files.sh |
18 |
@@ -8,7 +8,8 @@ shopt -s extglob |
19 |
portdir=$(portageq get_repo_path / gentoo) |
20 |
cd "${portdir}" || exit 1 |
21 |
|
22 |
-find . \( -path ./distfiles -o -path ./local -o -path ./metadata \) -prune \ |
23 |
+find . \( -path ./distfiles -o -path ./local -o -path ./metadata \ |
24 |
+ -o -path ./packages \) -prune \ |
25 |
-o ! -type d -exec file -ih '{}' + \ |
26 |
| while read line; do |
27 |
path=${line%:*} |