commit:     c866c85ae4475535a83ca24cdda93ed0f61ddcb0
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  6 09:28:00 2024 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Feb  6 09:28:00 2024 +0000
URL:        https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=c866c85a

find-binary-files.sh: Output file version

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 find-binary-files.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/find-binary-files.sh b/find-binary-files.sh
index 12e6fea..b053d2f 100755
--- a/find-binary-files.sh
+++ b/find-binary-files.sh
@@ -1,5 +1,5 @@
 #!/bin/bash
-# Copyright 2014-2022 Ulrich Müller
+# Copyright 2014-2024 Ulrich Müller
 # Distributed under the terms of the GNU GPL version 2 or later
 # Author: Ulrich Müller <[email protected]>
 
@@ -47,3 +47,6 @@ done < <(find \( -path ./distfiles -o -path ./local -o -path 
./metadata \
         -exec file -ih '{}' + | sort)
 
 [[ ${count} -gt 0 ]] || echo "No binary files found. :-)"
+
+# Output the file version for debugging of false positives/negatives
+echo; file --version | head -n1

Reply via email to