commit: b32dcf129e8e30e28dd78ba1faebd135ea217100
Author: Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Fri Jan 11 10:50:48 2019 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Fri Jan 11 10:54:25 2019 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b32dcf12
Checking for and creating config dir if needed
and improved comment style and grammar
Signed-off-by: Horea Christian <horea.christ <AT> yandex.com>
scripts/lapack-migration.sh | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/scripts/lapack-migration.sh b/scripts/lapack-migration.sh
index 2e6624ada..cd932c130 100755
--- a/scripts/lapack-migration.sh
+++ b/scripts/lapack-migration.sh
@@ -3,11 +3,14 @@ set -e
EPREFIX=${1}
-#Link to the workaroud we reproduce in this section :
https://wiki.gentoo.org/wiki/User_talk:Houseofsuns#Migration_to_science_overlay_from_main_tree
+#Link to the workaround automated by this script:
https://wiki.gentoo.org/wiki/User_talk:Houseofsuns#Migration_to_science_overlay_from_main_tree
#Efforts to more permanently address the issue:
https://github.com/gentoo/sci/issues/805
echo ""
echo "Setting Up Eselect for Gentoo Science:"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
+if [ ! -d ${EPREFIX}/etc/portage/package.mask/ ]; then
+ mkdir -p ${EPREFIX}/etc/portage/package.mask/;
+fi
cp "sci-lapack" "${EPREFIX}/etc/portage/package.mask/"
emerge --oneshot --verbose dev-util/cmake >> /dev/null
emerge --oneshot --verbose app-admin/eselect::science >> /dev/null