From 9518fa9a55653372a83db7ecc7aaeda3fb6afb5c82bf3ea036c6ef7c8cfe1ca1 Mon Sep 17 00:00:00 2001 From: Nicolas Morey-Chaisemartin Date: Wed, 31 Jan 2018 10:08:01 +0000 Subject: [PATCH] Fix path got mpivars OBS-URL: https://build.opensuse.org/package/show/science:HPC/mvapich2?expand=0&rev=30 --- mvapich2.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mvapich2.spec b/mvapich2.spec index 2d7e421..df57541 100644 --- a/mvapich2.spec +++ b/mvapich2.spec @@ -410,8 +410,8 @@ cat < %{buildroot}/%{p_bindir}/mpivars.sh module load %{hpc_mpi_family}%{?pack_suff}/%{version} EOF sed -e "s/export/setenv/" -e "s/=/ /" \ - %{buildroot}/%{mpi_bindir}/mpivars.sh > \ - %{buildroot}/%{mpi_bindir}/mpivars.csh + %{buildroot}/%{p_bindir}/mpivars.sh > \ + %{buildroot}/%{p_bindir}/mpivars.csh mkdir -p %{buildroot}%{_sysconfdir}/rpm %endif # with hpc