From afd4288cf20a01e588ba91c468a3928892cb23b5 Mon Sep 17 00:00:00 2001 From: dzaima Date: Sat, 18 Mar 2023 21:56:54 +0200 Subject: [PATCH] check for hash success in makefile --- makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index b4ca4eea..9e55d924 100644 --- a/makefile +++ b/makefile @@ -233,7 +233,8 @@ ifeq ($(BYTECODE_DIR),bytecodeSubmodule) @git submodule update --init build/bytecodeSubmodule endif @export bd=$$("${MAKE}" builddir); \ - mkdir -p "$$bd"; \ + [ "build/obj/" = "$$bd" ] && echo "Neither shasum nor sha256sum was found; cannot use custom configurations" && exit 1; \ + mkdir -p "$$bd"; \ "${MAKE}" run_incremental_1 bd="$$bd" endif # run build