10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-23 12:56:14 +01:00

Bug in setup_environment corrected

This commit is contained in:
Manu 2014-10-07 16:02:42 +02:00
parent 168335cfdc
commit 5e7644e166

View File

@ -45,8 +45,8 @@ make -C ocaml qp_create_ezfio_from_xyz.native
if [[ $? -ne 0 ]] if [[ $? -ne 0 ]]
then then
scripts/fetch_from_web.py "https://raw.github.com/hcarty/ocamlbrew/master/ocamlbrew-install" ocamlbrew-install.sh scripts/fetch_from_web.py "https://raw.github.com/hcarty/ocamlbrew/master/ocamlbrew-install" ocamlbrew-install.sh
cat < ocamlbrew-install.sh | env OCAMLBREW_FLAGS="-r" bash > ocaml_install.log cat < ocamlbrew-install.sh | env OCAMLBREW_FLAGS="-r" bash | tee ocaml_install.log
grep "source " install.log | grep "etc/ocamlbrew.bashrc" >> quantum_package.rc grep "source " ocaml_install.log | grep "etc/ocamlbrew.bashrc" >> quantum_package.rc
source quantum_package.rc source quantum_package.rc
echo Y | opam install core async echo Y | opam install core async
fi fi