diff options
author | Sam James <sam@gentoo.org> | 2022-08-10 05:30:43 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-08-10 05:31:33 +0100 |
commit | 0459f86990ce4e130731dca4c89d73d607e5142e (patch) | |
tree | 1f3e06cdd7f86847ad289a3b82774c69eb18a854 | |
parent | estrip: apply scanelf optimisation to EAPI 7+ / dostrip (diff) | |
download | portage-0459f86990ce4e130731dca4c89d73d607e5142e.tar.gz portage-0459f86990ce4e130731dca4c89d73d607e5142e.tar.bz2 portage-0459f86990ce4e130731dca4c89d73d607e5142e.zip |
estrip: drop noisy strip banner if nothing to do
Fixes: e8f0e06784549fc4c8a06e0a43ff946d6a895683
Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-x | bin/estrip | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/estrip b/bin/estrip index 68ce8bd4d..b8764039b 100755 --- a/bin/estrip +++ b/bin/estrip @@ -104,7 +104,7 @@ while [[ $# -gt 0 ]] ; do while IFS= read -r path; do >> "${path}.estrip" || die done < <( - printf "%s\n" "${scanelf_results[@]}" + [[ -n ${scanelf_results[@]} ]] && printf "%s\n" "${scanelf_results[@]}" find "${find_paths[@]}" -type f ! -type l -name '*.a' ) |