From 12de4c1de3e4e55a96108ba26e57782fa1b6ba22 Mon Sep 17 00:00:00 2001 From: Thomas Applencourt Date: Mon, 8 Jun 2015 15:41:02 +0200 Subject: [PATCH] Fix ocaml instalation #3 --- install/scripts/install_ocaml.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install/scripts/install_ocaml.sh b/install/scripts/install_ocaml.sh index 338915d2..c566020b 100755 --- a/install/scripts/install_ocaml.sh +++ b/install/scripts/install_ocaml.sh @@ -28,13 +28,13 @@ then echo "Installation of OPAM failed" exit 2 fi -${QP_ROOT}/bin/opam config setup -a || exit 1 +${QP_ROOT}/bin/opam config setup -a --dot-profile ${QP_ROOT}/quantum_package.rc || exit 1 export LD_LIBRARY_PATH=${QP_ROOT}/lib:${LD_LIBRARY_PATH} export LIBRARY_PATH=${QP_ROOT}/lib:${LIBRARY_PATH} export C_INCLUDE_PATH=${QP_ROOT}/lib:${C_INCLUDE_PATH} -${QP_ROOT}/bin/opam install ${PACKAGES} || exit 1 + +source ${QPACKAGE_ROOT}/quantum_package.rc +echo Y | ${QP_ROOT}/bin/opam install ${PACKAGES} || exit 1 rm -f ../_build/ocaml.log -exit 0 - - +exit 0 \ No newline at end of file