summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-16 05:47:11 +0000
committerSam James <sam@gentoo.org>2021-04-16 05:49:37 +0000
commit4dbf25eed75a5e0e4d8a563fedacc662332af970 (patch)
treee48ef8c873d5cd36cedd7991ca990ded82690a9e /app-crypt
parentapp-crypt/openpgp-keys-tcpdump: add die on subshell cat (diff)
downloadgentoo-4dbf25eed75a5e0e4d8a563fedacc662332af970.tar.gz
gentoo-4dbf25eed75a5e0e4d8a563fedacc662332af970.tar.bz2
gentoo-4dbf25eed75a5e0e4d8a563fedacc662332af970.zip
app-crypt/openpgp-keys-nmap: add die on subshell cat
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/openpgp-keys-nmap/openpgp-keys-nmap-20210416.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-crypt/openpgp-keys-nmap/openpgp-keys-nmap-20210416.ebuild b/app-crypt/openpgp-keys-nmap/openpgp-keys-nmap-20210416.ebuild
index 032da040b185..1b57d90b16d1 100644
--- a/app-crypt/openpgp-keys-nmap/openpgp-keys-nmap-20210416.ebuild
+++ b/app-crypt/openpgp-keys-nmap/openpgp-keys-nmap-20210416.ebuild
@@ -16,5 +16,5 @@ src_install() {
local files=( ${A} )
insinto /usr/share/openpgp-keys
- newins - nmap.asc < <(cat "${files[@]/#/${DISTDIR}/}")
+ newins - nmap.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
}