app-vim/gnupg: Add missing || dies.
authorPatrice Clement <monsieurp@gentoo.org>
Thu, 25 Aug 2016 20:15:10 +0000 (22:15 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Thu, 25 Aug 2016 20:58:05 +0000 (22:58 +0200)
Package-Manager: portage-2.2.28

app-vim/gnupg/gnupg-2.6.ebuild

index 583108037acffdb7f2dd0df13e7385c774ed544b..49055cb790d7e5c8f806d98bc696991a4d8941a6 100644 (file)
@@ -21,9 +21,9 @@ src_prepare() {
        # There's good documentation included with the script, but it's not
        # in a helpfile. Since there's rather too much information to include
        # in a VIM_PLUGIN_HELPTEXT, we'll sed ourselves a help doc.
-       mkdir doc
+       mkdir doc || die
        sed -e '/" Section: Plugin header.\+$/,9999d' -e 's/^" \?//' \
                -e 's/\(Name:\s\+\)\([^.]\+\)\.vim/\1*\2.txt*/' \
                plugin/${PN}.vim \
-               > doc/${PN}.txt
+               > doc/${PN}.txt || die
 }