From 90361ba33e44f128cb7c03897e4b6b7d84d595e3 Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Tue, 29 Dec 2015 02:30:52 +0100 Subject: [PATCH] Fixed ocaml compilation --- scripts/compile_ocaml.sh | 2 +- scripts/compile_ocaml_dep.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/compile_ocaml.sh b/scripts/compile_ocaml.sh index a28ce68..47045d8 100755 --- a/scripts/compile_ocaml.sh +++ b/scripts/compile_ocaml.sh @@ -8,4 +8,4 @@ fi cd ${QMCCHEM_PATH}/ocaml || exit -1 -exec ninja -f generated.ninja ${@} +ninja ${@} || exit -1 diff --git a/scripts/compile_ocaml_dep.sh b/scripts/compile_ocaml_dep.sh index 519175a..ce7f610 100755 --- a/scripts/compile_ocaml_dep.sh +++ b/scripts/compile_ocaml_dep.sh @@ -25,7 +25,7 @@ if [[ ${MD5} != ${REF} ]] then echo ${MD5} > ${LSMD5_FILE} echo Finding dependencies in OCaml files - exec python ./ninja_ocaml.py + python ./ninja_ocaml.py || exit -1 fi