SHA256
1
0
forked from pool/mvapich2

Fix path got mpivars

OBS-URL: https://build.opensuse.org/package/show/science:HPC/mvapich2?expand=0&rev=30
This commit is contained in:
Nicolas Morey-Chaisemartin 2018-01-31 10:08:01 +00:00 committed by Git OBS Bridge
parent a5c81a712c
commit 9518fa9a55

View File

@ -410,8 +410,8 @@ cat <<EOF > %{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