forked from pool/mvapich3
Nicolas Morey
6961053612
New major version OBS-URL: https://build.opensuse.org/request/show/1100785 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mvapich3?expand=0&rev=1
32 lines
526 B
Bash
32 lines
526 B
Bash
case $PATH in
|
|
*prefix/bin*)
|
|
true
|
|
;;
|
|
*)
|
|
PATH=prefix/bin:$PATH
|
|
esac
|
|
|
|
|
|
case $MANPATH in
|
|
*prefix/share/man*)
|
|
true
|
|
;;
|
|
*)
|
|
MANPATH=prefix/share/man:$MANPATH
|
|
export MANPATH
|
|
esac
|
|
|
|
|
|
case $LD_LIBRARY_PATH in
|
|
*libdir*)
|
|
true
|
|
;;
|
|
*)
|
|
if [ -z "$LD_LIBRARY_PATH" ]; then
|
|
LD_LIBRARY_PATH=libdir
|
|
else
|
|
LD_LIBRARY_PATH="libdir:$LD_LIBRARY_PATH"
|
|
fi
|
|
export LD_LIBRARY_PATH
|
|
esac
|