app-shells/bash-completion: Improve STRIP_COMPLETIONS errors
authorMichał Górny <mgorny@gentoo.org>
Tue, 10 Apr 2018 14:32:05 +0000 (16:32 +0200)
committerMichał Górny <mgorny@gentoo.org>
Tue, 10 Apr 2018 14:48:44 +0000 (16:48 +0200)
app-shells/bash-completion/bash-completion-9999.ebuild

index 10f64b1c2271c4dc2482a1e4ac2c2960776351a7..d7a8ec6b2b78b68f3c5787cfa30446977c0a314c 100644 (file)
@@ -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