mirror of
https://github.com/LCPQ/quantum_package
synced 2024-12-23 04:43:50 +01:00
Corrected 929420c71f
This commit is contained in:
parent
929420c71f
commit
8bafaeb60f
@ -11,23 +11,6 @@ BLACK="(B[m"
|
|||||||
QPACKAGE_ROOT="$( cd "$(dirname "$BASH_SOURCE")" ; pwd -P )"
|
QPACKAGE_ROOT="$( cd "$(dirname "$BASH_SOURCE")" ; pwd -P )"
|
||||||
|
|
||||||
|
|
||||||
if [[ -z "${IRPF90}" ]] ;
|
|
||||||
then
|
|
||||||
make irpf90
|
|
||||||
IRPF90="${QPACKAGE_ROOT}"/bin/irpf90
|
|
||||||
if [[ ! -x "${IRPF90}" ]]
|
|
||||||
then
|
|
||||||
echo $RED "Error in IRPF90 installation" $BLACK
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
if [[ -z ${OCAMLBREW_BASE} ]]
|
|
||||||
then
|
|
||||||
export OCAMLBREW_BASE="$HOME/ocamlbrew"
|
|
||||||
fi
|
|
||||||
|
|
||||||
cat << EOF > quantum_package.rc
|
cat << EOF > quantum_package.rc
|
||||||
export IRPF90="${IRPF90}"
|
export IRPF90="${IRPF90}"
|
||||||
export QPACKAGE_ROOT=\$( cd \$(dirname "\${BASH_SOURCE}") ; pwd -P )
|
export QPACKAGE_ROOT=\$( cd \$(dirname "\${BASH_SOURCE}") ; pwd -P )
|
||||||
|
Loading…
Reference in New Issue
Block a user