From 1cb94baa318293097896465afea95fba7679c484 Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Mon, 26 Jun 2017 16:33:48 -0500 Subject: [PATCH] Add `-n` to tail command for GNU-tail compatibility --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6ef21fda0..d26d6b42c 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,7 @@ cover-pkg: mkdir -p build/coverage touch build/coverage/$(subst /,-,$(PKG)).out go test -coverprofile=build/coverage/$(subst /,-,$(PKG)).out $(PKG) - tail +2 build/coverage/$(subst /,-,$(PKG)).out >> build/coverage/all.out + tail -n +2 build/coverage/$(subst /,-,$(PKG)).out >> build/coverage/all.out cover-viz: cover go tool cover -html=build/coverage/all.out