From 710b8b79295896024e401178440a75b41bce32f6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 20 Sep 2022 12:53:03 +1000 Subject: GNUmakefile: fix error showing final message with the 'dash' shell The bpy module check wasn't working with dash, use posix compliant check for empty string. --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 884d2232d71..439b435f5f4 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -364,7 +364,7 @@ all: .FORCE $(BUILD_COMMAND) -C "$(BUILD_DIR)" -j $(NPROCS) install @echo @echo Edit build configuration with: \"$(BUILD_DIR)/CMakeCache.txt\" run make again to rebuild. - @if test "$(BLENDER_IS_PYTHON_MODULE)" == ""; then \ + @if test -z "$(BLENDER_IS_PYTHON_MODULE)"; then \ echo Blender successfully built, run from: $(BLENDER_BIN); \ else \ echo Blender successfully built as a Python module, \"bpy\" can be imported from: $(BLENDER_BIN_DIR); \ -- cgit v1.2.3