From 659a2bb560e5c66371ee06039a61fc95873ab4af Mon Sep 17 00:00:00 2001 From: Alan Bernstein Date: Thu, 27 Aug 2020 20:12:51 -0500 Subject: [PATCH] Silence stderr in makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 246e59f0c..241904367 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CLONE_URL=github.com/pilosa/pilosa VERSION := $(shell git describe --tags 2> /dev/null || echo unknown) -LATTICE_COMMIT := $(shell git -C lattice rev-parse --short HEAD || echo none) +LATTICE_COMMIT := $(shell git -C lattice rev-parse --short HEAD 2>/dev/null) VARIANT = Molecula VERSION_ID = $(VERSION)-$(GOOS)-$(GOARCH) BRANCH := $(if $(TRAVIS_BRANCH),$(TRAVIS_BRANCH),$(if $(CIRCLE_BRANCH),$(CIRCLE_BRANCH),$(shell git rev-parse --abbrev-ref HEAD)))