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:
parent
94a79139ed
commit
cb9a4c1354
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user