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
1 changed files with 2 additions and 1 deletions

View File

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