summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-04-10 16:32:05 +0200
committerMichał Górny <mgorny@gentoo.org>2018-04-10 16:48:44 +0200
commit5645b9605709652d94ca276809dc025b3c6deebf (patch)
tree4f083f6cb6899d37035084a4ccb8f11b21f0d7a1 /app-shells
parentapp-portage/kuroo: Drop old (diff)
downloadgentoo-5645b9605709652d94ca276809dc025b3c6deebf.tar.gz
gentoo-5645b9605709652d94ca276809dc025b3c6deebf.tar.bz2
gentoo-5645b9605709652d94ca276809dc025b3c6deebf.zip
app-shells/bash-completion: Improve STRIP_COMPLETIONS errors
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/bash-completion/bash-completion-9999.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/app-shells/bash-completion/bash-completion-9999.ebuild b/app-shells/bash-completion/bash-completion-9999.ebuild
index 10f64b1c2271..d7a8ec6b2b78 100644
--- a/app-shells/bash-completion/bash-completion-9999.ebuild
+++ b/app-shells/bash-completion/bash-completion-9999.ebuild
@@ -95,7 +95,8 @@ src_install() {
local file
for file in "${STRIP_COMPLETIONS[@]}"; do
- rm "${ED}"/usr/share/bash-completion/completions/${file} || die
+ rm "${ED}"/usr/share/bash-completion/completions/${file} ||
+ die "stripping ${file} failed"
done
# remove deprecated completions (moved to other packages)
rm "${ED}"/usr/share/bash-completion/completions/_* || die