aboutsummaryrefslogtreecommitdiff
path: root/mathcomp
diff options
context:
space:
mode:
authorRalf Jung2017-10-12 16:16:30 +0200
committerRalf Jung2017-10-12 16:16:30 +0200
commit30efd7b0ce2a272487b3937079c6dfe3f5877654 (patch)
tree414cfbe07a5b8e9fcab3b03acc64afa8e8a3fb90 /mathcomp
parent5466772ab7a59081aed4bcf990bef74e9bd48965 (diff)
fix Coq version detection on Windows, and in case there are errors
Diffstat (limited to 'mathcomp')
-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