From c1c332e00a1d4db2e96f3957cf692e8c64f4b92e Mon Sep 17 00:00:00 2001 From: Mike Parker Date: Thu, 11 Oct 2018 14:14:26 +0100 Subject: [PATCH] Tweak error message to be more descriptive when the directory name doesnt match the expected. Signed-off-by: Mike Parker --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 865890b69..4937aa0a7 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ all: bin/$(BIN_NAME) test check_go_env: @test $$(go list) = "$(PKG_NAME)" || \ - (echo "Invalid Go environment" && false) + (echo "Invalid Go environment - The local directory structure must match: $(PKG_NAME)" && false) cross: bin/$(BIN_NAME)-linux bin/$(BIN_NAME)-darwin bin/$(BIN_NAME)-windows.exe ## cross-compile binaries (linux, darwin, windows)