# HG changeset patch # User Vladimir Marek # Date 1383727187 -3600 # Node ID 6cdada0dd56ab704998255d69c50f33cc960b1df # Parent e419cc20d324eba8e734ea56c62f37f79e15cf5e 17747240 gmake setup is masking pkglint failures diff -r e419cc20d324 -r 6cdada0dd56a components/Makefile --- a/components/Makefile Mon Nov 18 04:25:43 2013 -0800 +++ b/components/Makefile Wed Nov 06 09:39:47 2013 +0100 @@ -108,10 +108,13 @@ $(WS_LINT_CACHE): $(WS_LOGS) tools ifdef CANONICAL_REPO - @echo "Generating pkglint(1) cache from $(CANONICAL_REPO)..." + @echo "Generating pkglint(1) cache from CANONICAL_REPO $(CANONICAL_REPO)..." @(echo $(DUMMYPKG) | $(PKGLINT) \ -c $(WS_LINT_CACHE) -r $(CANONICAL_REPO) /dev/fd/0 \ - >$(WS_LOGS)/naughty-canonical-repo-actions 2>&1 ; exit 0) + >$(WS_LOGS)/naughty-canonical-repo-actions 2>&1 || \ + ( echo "pkglint(1) failed, please see $(WS_LOGS)/naughty-canonical-repo-actions"; \ + exit 1 ) \ + ) else $(MKDIR) $(WS_LINT_CACHE) endif