diff options
author | Michael Gilroy <michael.gilroy24@gmail.com> | 2017-06-16 13:54:08 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-16 13:54:08 -0600 |
commit | a8750b9cb05b86f0c667a6f14a12a85ce0dccac3 (patch) | |
tree | bd92316ee46184167f554ee1a8deb19f26e32f9b | |
parent | repoman appeased (diff) | |
parent | Merge branch 'master' of https://github.com/gilroy/gentoo-mpi (diff) | |
download | gentoo-mpi-a8750b9cb05b86f0c667a6f14a12a85ce0dccac3.tar.gz gentoo-mpi-a8750b9cb05b86f0c667a6f14a12a85ce0dccac3.tar.bz2 gentoo-mpi-a8750b9cb05b86f0c667a6f14a12a85ce0dccac3.zip |
Merge branch 'master' into dev
-rw-r--r-- | eclass/mpi-providers.eclass | 3 | ||||
-rw-r--r-- | eclass/mpi-select.eclass | 14 |
2 files changed, 10 insertions, 7 deletions
diff --git a/eclass/mpi-providers.eclass b/eclass/mpi-providers.eclass index 705876c..159d15e 100644 --- a/eclass/mpi-providers.eclass +++ b/eclass/mpi-providers.eclass @@ -35,9 +35,8 @@ mpi-providers_safe_mv() { mv "${T}/DOCS" "${ED}/usr/share/doc" ||die "mv failed" cd "${mpi_root}/etc" - local etcdirs=$(find -O3 -mindepth 1 -maxdepth 1 ! -path "./${PF}*") || die - cp -t "${ED}"/etc/"${PN}"-"${PVR}" "${etcdirs}" || die + find -O3 -mindepth 1 -maxdepth 1 ! -path "./${PF}*" -execdir cp -a -t "${PF}" '{}' \; || die "find failed" } # @ECLASS-FUNCTION: mpi-providers_sysconfdir diff --git a/eclass/mpi-select.eclass b/eclass/mpi-select.eclass index 9a0e467..ce34f7f 100644 --- a/eclass/mpi-select.eclass +++ b/eclass/mpi-select.eclass @@ -50,7 +50,8 @@ mpi-select_implementation_install (){ # @ECLASS-FUNCTION: mpi-select_detect_installs # @DESCRIPTION: # See what MPI software is installed on the system -mpi-select_detect_installs (){ +mpi-select_detect_installs() +{ for dir in "${MPI_DIR}"/* do INSTALLED_IMPLEMENTATIONS="${INSTALLED_IMPLEMENTATIONS} ${dir}" @@ -59,25 +60,28 @@ mpi-select_detect_installs (){ echo "${INSTALLED_IMPLEMENTATIONS}" } -mpi-select_src_configure (){ +mpi-select_src_configure() +{ case "${1}" in # cases based on implementation esac } -mpi-select_src_compile (){ +mpi-select_src_compile () +{ case "${1}" in # cases based on implementation esac } -mpi-select_src_test (){ +mpi-select_src_test() +{ case "${1}" in # cases based on implementation esac } -mpi-select_src_install (){ +mpi-select_src_install(){ case "${1}" in # cases based on implementation esac |