aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico2017-10-20 10:12:45 +0200
committerGitHub2017-10-20 10:12:45 +0200
commit8c2fca1bff01f78720b946fa42492a52ba60ea6f (patch)
tree376a437731adece34c1ffbc5ccadfd487ba67a36
parent76387e0ca14b449a75467334a3efa2730f471b2f (diff)
parent30efd7b0ce2a272487b3937079c6dfe3f5877654 (diff)
Merge pull request #143 from RalfJung/coq-version
fix Coq version detection on Windows, and in case there are warnings
-rw-r--r--mathcomp/ssreflect/Makefile.detect-coq-version2
1 files changed, 1 insertions, 1 deletions
diff --git a/mathcomp/ssreflect/Makefile.detect-coq-version b/mathcomp/ssreflect/Makefile.detect-coq-version
index 3fedbaf..9c00aa3 100644
--- a/mathcomp/ssreflect/Makefile.detect-coq-version
+++ b/mathcomp/ssreflect/Makefile.detect-coq-version
@@ -8,7 +8,7 @@ BRANCH_coq = $(shell $(COQBIN)coqtop -v | head -1 \
| sed 's/.*version \([0-9]\.[0-9]\)[^ ]* .*/v\1/')
endif
-HASH_coq = $(shell echo Quit. | $(COQBIN)coqtop 2>&1 | head -1 \
+HASH_coq = $(shell echo Quit. | $(COQBIN)coqtop 2>/dev/null | head -1 \
| sed 's/^.*(\([a-f0-9]*\)).*/\1/' )
HASH_coq_v85beta1 = eaa3d0b15adf4eb11ffb00ab087746a5b15c4d5d