[Bf-blender-cvs] [710b8b79295] master: GNUmakefile: fix error showing final message with the 'dash' shell
Campbell Barton
noreply at git.blender.org
Tue Sep 20 04:57:50 CEST 2022
Commit: 710b8b79295896024e401178440a75b41bce32f6
Author: Campbell Barton
Date: Tue Sep 20 12:53:03 2022 +1000
Branches: master
https://developer.blender.org/rB710b8b79295896024e401178440a75b41bce32f6
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.
===================================================================
M GNUmakefile
===================================================================
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); \
More information about the Bf-blender-cvs
mailing list