From: | Horea Christian <horea.christ@×××××.com> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] proj/sci:master commit in: scripts/ |
Date: | Fri, 11 Jan 2019 10:57:26 |
Message-Id: | 1547204065.b32dcf129e8e30e28dd78ba1faebd135ea217100.chymera@gentoo |
1 | commit: b32dcf129e8e30e28dd78ba1faebd135ea217100 |
2 | Author: Horea Christian <horea.christ <AT> yandex <DOT> com> |
3 | AuthorDate: Fri Jan 11 10:50:48 2019 +0000 |
4 | Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 | CommitDate: Fri Jan 11 10:54:25 2019 +0000 |
6 | URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b32dcf12 |
7 | |
8 | Checking for and creating config dir if needed |
9 | |
10 | and improved comment style and grammar |
11 | |
12 | Signed-off-by: Horea Christian <horea.christ <AT> yandex.com> |
13 | |
14 | scripts/lapack-migration.sh | 5 ++++- |
15 | 1 file changed, 4 insertions(+), 1 deletion(-) |
16 | |
17 | diff --git a/scripts/lapack-migration.sh b/scripts/lapack-migration.sh |
18 | index 2e6624ada..cd932c130 100755 |
19 | --- a/scripts/lapack-migration.sh |
20 | +++ b/scripts/lapack-migration.sh |
21 | @@ -3,11 +3,14 @@ set -e |
22 | |
23 | EPREFIX=${1} |
24 | |
25 | -#Link to the workaroud we reproduce in this section : https://wiki.gentoo.org/wiki/User_talk:Houseofsuns#Migration_to_science_overlay_from_main_tree |
26 | +#Link to the workaround automated by this script: https://wiki.gentoo.org/wiki/User_talk:Houseofsuns#Migration_to_science_overlay_from_main_tree |
27 | #Efforts to more permanently address the issue: https://github.com/gentoo/sci/issues/805 |
28 | echo "" |
29 | echo "Setting Up Eselect for Gentoo Science:" |
30 | echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" |
31 | +if [ ! -d ${EPREFIX}/etc/portage/package.mask/ ]; then |
32 | + mkdir -p ${EPREFIX}/etc/portage/package.mask/; |
33 | +fi |
34 | cp "sci-lapack" "${EPREFIX}/etc/portage/package.mask/" |
35 | emerge --oneshot --verbose dev-util/cmake >> /dev/null |
36 | emerge --oneshot --verbose app-admin/eselect::science >> /dev/null |