From 860821b3fd547c2aa619ea989253dd58435e4f35 Mon Sep 17 00:00:00 2001
From: Ralf Jung <jung@mpi-sws.org>
Date: Sat, 28 Oct 2017 19:20:40 +0200
Subject: [PATCH] opam-ci: silence accidental output

---
 build/opam-ci.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/opam-ci.sh b/build/opam-ci.sh
index bcd79ee4e..1821492f6 100755
--- a/build/opam-ci.sh
+++ b/build/opam-ci.sh
@@ -22,7 +22,7 @@ run_and_print make build-dep/opam
 run_and_print opam update
 
 # Make sure we got the right set of repositories registered
-if echo "$@" | fgrep "dev"; then
+if echo "$@" | fgrep "dev" > /dev/null; then
     # We are compiling against a dev version of something.  Get ourselves the dev repositories.
     test -d "$OPAMROOT/repo/coq-extra-dev" || run_and_print opam repo add coq-extra-dev https://coq.inria.fr/opam/extra-dev -p 0
     test -d "$OPAMROOT/repo/coq-core-dev" || run_and_print opam repo add coq-core-dev https://coq.inria.fr/opam/core-dev -p 5
-- 
GitLab