summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/netcdf')
-rw-r--r--sci-libs/netcdf/netcdf-4.9.2-r1.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/sci-libs/netcdf/netcdf-4.9.2-r1.ebuild b/sci-libs/netcdf/netcdf-4.9.2-r1.ebuild
index 458001188497..a751713a52c2 100644
--- a/sci-libs/netcdf/netcdf-4.9.2-r1.ebuild
+++ b/sci-libs/netcdf/netcdf-4.9.2-r1.ebuild
@@ -89,8 +89,9 @@ src_configure() {
}
src_test() {
- [[ -f "${BUILD_DIR}/nc_test4/run_par_test.sh" ]] && \
- sed -e 's/mpiexec/mpiexec --use-hwthread-cpus/g' -i "${BUILD_DIR}/nc_test4/run_par_test.sh" || die
+ if [[ -f "${BUILD_DIR}/nc_test4/run_par_test.sh" ]]; then
+ sed -e 's/mpiexec/mpiexec --use-hwthread-cpus/g' -i "${BUILD_DIR}/nc_test4/run_par_test.sh" || die
+ fi
cmake_src_test
}