sci-mathematics/scilab-bin: local; globbing

Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
Maciej Barć 2021-03-23 15:23:31 +01:00
parent 1d4432ca9f
commit 2f3808f136
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A

View File

@ -26,7 +26,8 @@ QA_PREBUILT="*"
QA_PRESTRIPPED="${QA_PREBUILT}" QA_PRESTRIPPED="${QA_PREBUILT}"
src_install() { src_install() {
for d in ACKNOWLEDGEMENTS CHANGES.md COPYING README.md local d
for d in ACKNOWLEDGEMENTS COPYING *.md
do do
dodoc "${d}" && rm "${d}" dodoc "${d}" && rm "${d}"
done done
@ -41,6 +42,6 @@ src_install() {
mv * "${D}/opt/${PN}" || die mv * "${D}/opt/${PN}" || die
pushd "${D}/usr/bin" >/dev/null || die pushd "${D}/usr/bin" >/dev/null || die
ln -s ../../opt/"${PN}"/bin/?* . || die ln -s ../../opt/"${PN}"/bin/* . || die
popd || die popd || die
} }