10
1
mirror of https://gitlab.com/scemama/qmcchem.git synced 2024-12-22 04:13:31 +01:00

Update ocam install script

This commit is contained in:
Anthony Scemama 2020-11-02 18:13:53 +01:00
parent 099b9ae8cc
commit 49865ef15b

View File

@ -54,9 +54,7 @@ set -u
cd Downloads
chmod +x opam_installer.sh
rm --force ${QMCCHEM_PATH}/bin/opam
if [[ -z "$OPAMROOT" ]] ; then
export OPAMROOT=${HOME}/.opam
fi
export OPAMROOT=${OPAMROOT:-${HOME}/.opam}
if [[ -d "$OPAMROOT" ]]