diff options
author | Ulrich Müller <ulm@gentoo.org> | 2024-02-06 10:28:00 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2024-02-06 10:28:00 +0100 |
commit | c866c85ae4475535a83ca24cdda93ed0f61ddcb0 (patch) | |
tree | 14cb0a1c6ec811c0c19b499953fe07e151e1e27e | |
parent | Bump pkgcheck2html (diff) | |
download | qa-scripts-c866c85ae4475535a83ca24cdda93ed0f61ddcb0.tar.gz qa-scripts-c866c85ae4475535a83ca24cdda93ed0f61ddcb0.tar.bz2 qa-scripts-c866c85ae4475535a83ca24cdda93ed0f61ddcb0.zip |
find-binary-files.sh: Output file version
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rwxr-xr-x | find-binary-files.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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 <ulm@gentoo.org> @@ -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 |