From 390e3329ca64d265f4c72ee35feb34f03f3eb79e Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Tue, 19 Nov 2019 12:41:02 -0800 Subject: [PATCH] Fix makefile rule when test/vectors.h is missing `return` only works in functions, so when I run `make check` with no tests/vectors.h, I get return 1 make: return: Command not found make: *** [makefile:189: tests/vectors.h] Error 127 While I guess this does the job, the right thing to do here is `exit 1`. --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index bcf9f7e..39bb800 100644 --- a/makefile +++ b/makefile @@ -186,7 +186,7 @@ tests/vectors.h: @echo " need libsodium." @echo "======================================================" @echo "" - return 1 + exit 1 dist: tests/vectors.h ./release.sh -- 2.47.3