Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit c1c332e

Browse files
author
Mike Parker
committed
Tweak error message to be more descriptive when the directory name doesnt match the expected.
Signed-off-by: Mike Parker <michael.parker@docker.com>
1 parent fd067a7 commit c1c332e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ all: bin/$(BIN_NAME) test
3131

3232
check_go_env:
3333
@test $$(go list) = "$(PKG_NAME)" || \
34-
(echo "Invalid Go environment" && false)
34+
(echo "Invalid Go environment - The local directory structure must match: $(PKG_NAME)" && false)
3535

3636
cross: bin/$(BIN_NAME)-linux bin/$(BIN_NAME)-darwin bin/$(BIN_NAME)-windows.exe ## cross-compile binaries (linux, darwin, windows)
3737

0 commit comments

Comments
 (0)