sci-mathematics/scilab-bin: local; globbing
Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
parent
1d4432ca9f
commit
2f3808f136
@ -26,7 +26,8 @@ QA_PREBUILT="*"
|
||||
QA_PRESTRIPPED="${QA_PREBUILT}"
|
||||
|
||||
src_install() {
|
||||
for d in ACKNOWLEDGEMENTS CHANGES.md COPYING README.md
|
||||
local d
|
||||
for d in ACKNOWLEDGEMENTS COPYING *.md
|
||||
do
|
||||
dodoc "${d}" && rm "${d}"
|
||||
done
|
||||
@ -41,6 +42,6 @@ src_install() {
|
||||
mv * "${D}/opt/${PN}" || die
|
||||
|
||||
pushd "${D}/usr/bin" >/dev/null || die
|
||||
ln -s ../../opt/"${PN}"/bin/?* . || die
|
||||
ln -s ../../opt/"${PN}"/bin/* . || die
|
||||
popd || die
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user