summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--subr/post_sha256sums.subr4
1 files changed, 3 insertions, 1 deletions
diff --git a/subr/post_sha256sums.subr b/subr/post_sha256sums.subr
index c5f736e1..ed9f3ce7 100644
--- a/subr/post_sha256sums.subr
+++ b/subr/post_sha256sums.subr
@@ -10,7 +10,9 @@ post_sha256sums() {
if [ -e "${PREFIX}/SHA256SUMS" ]; then
build_fileop mv "${PREFIX}/SHA256SUMS" "${PREFIX}/SHA256SUMS.last";
fi;
- for __ in $(find "${PREFIX_NATIVE}" -type f -perm /a=x -name bin/\* -name lib/\*); do
+ for __ in $(find "${PREFIX_NATIVE}" -type f -perm /a=x \
+ \( -path "${PREFIX_NATIVE}/bin/*" -or \
+ -path "${PREFIX_NATIVE}/lib/*" \)); do
sha256sum "${__}";
done > "${PREFIX}/SHA256SUMS";
fi;