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.
This commit is contained in:
Campbell Barton 2022-09-20 12:53:03 +10:00
parent 3d5e0c8b9d
commit 710b8b7929
1 changed files with 1 additions and 1 deletions

View File

@ -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); \