Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-09-20 05:53:03 +0300
committerCampbell Barton <campbell@blender.org>2022-09-20 05:53:03 +0300
commit710b8b79295896024e401178440a75b41bce32f6 (patch)
tree4ee5f9c28ed2d8f55892f8fe6eb250881c22887b /GNUmakefile
parent3d5e0c8b9dc18892bbad3542246212682a63d61c (diff)
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.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile2
1 files changed, 1 insertions, 1 deletions
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); \