[Bf-blender-cvs] [f94a460] master: [msvc/make.bat] Detect spaces in the build path and error out.

lazydodo noreply at git.blender.org
Tue Nov 1 22:30:07 CET 2016


Commit: f94a460397a86beb9f71e665e8f484fa4e10ebdc
Author: lazydodo
Date:   Tue Nov 1 15:30:12 2016 -0600
Branches: master
https://developer.blender.org/rBf94a460397a86beb9f71e665e8f484fa4e10ebdc

[msvc/make.bat] Detect spaces in the build path and error out.

===================================================================

M	make.bat

===================================================================

diff --git a/make.bat b/make.bat
index c7f2dbb..74148e5 100644
--- a/make.bat
+++ b/make.bat
@@ -4,6 +4,11 @@ REM This is for users who like to configure & build Blender with a single comman
 
 setlocal ENABLEEXTENSIONS
 set BLENDER_DIR=%~dp0
+set BLENDER_DIR_NOSPACES=%BLENDER_DIR: =%
+if not "%BLENDER_DIR%"=="%BLENDER_DIR_NOSPACES%" ( 
+	echo There are spaces detected in the build path "%BLENDER_DIR%", this is currently not supported, exiting.... 
+	goto EOF
+)
 set BUILD_DIR=%BLENDER_DIR%..\build_windows
 set BUILD_TYPE=Release
 rem reset all variables so they do not get accidentally get carried over from previous builds




More information about the Bf-blender-cvs mailing list