app-portage/src_prepare-scripts: add local; tweak die

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
Maciej Barć 2020-09-12 17:20:00 +02:00
parent 94a79139ed
commit cb9a4c1354
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A

View File

@ -25,6 +25,7 @@ RDEPEND="
src_install() { src_install() {
# Install the docs # Install the docs
local doc
for doc in *.md for doc in *.md
do do
dodoc "${doc}" dodoc "${doc}"
@ -42,6 +43,6 @@ src_install() {
done done
popd popd
else else
die "There is no 'src' directory" die "There is no ${S}/src directory"
fi fi
} }