check for hash success in makefile

This commit is contained in:
dzaima 2023-03-18 21:56:54 +02:00
parent a3d74c6af2
commit afd4288cf2

View File

@ -233,7 +233,8 @@ ifeq ($(BYTECODE_DIR),bytecodeSubmodule)
@git submodule update --init build/bytecodeSubmodule @git submodule update --init build/bytecodeSubmodule
endif endif
@export bd=$$("${MAKE}" builddir); \ @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" "${MAKE}" run_incremental_1 bd="$$bd"
endif # run build endif # run build