aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorletouzey2012-10-06 10:08:55 +0000
committerletouzey2012-10-06 10:08:55 +0000
commit48b3abb2373a1bd4655f2de44f42245be4d773ac (patch)
tree4dab2648f939eeadaa125d2c5dbd660732dc3bcc
parent4e0def89b221046c6400a3d074b8b2089bd3bced (diff)
Minor fix in the ./build wrapper for ocamlbuild
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15877 85f007b7-540e-0410-9357-904b9bb8a0f7
-rwxr-xr-xbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/build b/build
index da3efdca3c..debf29cf43 100755
--- a/build
+++ b/build
@@ -7,7 +7,7 @@ MYCFG=myocamlbuild_config.ml
export CAML_LD_LIBRARY_PATH=`pwd`/_build/kernel/byterun
check_config() {
- [ -f $MYCFG ] || (echo "please run ./configure first"; exit 1)
+ if [ ! -f $MYCFG ]; then echo "please run ./configure first"; exit 1; fi
}
ocb() { $OCAMLBUILD $FLAGS $*; }