bin/nixenvironment in nixenvironment-0.0.25 vs bin/nixenvironment in nixenvironment-0.0.26
- old
+ new
@@ -495,10 +495,10 @@
need_to_build_ios = true
root_working_dir = Dir.pwd
ios_project_path = File.join(root_working_dir, UNITY_BUILDS_IOS_PATH)
p('Generating IOS project from UNITY project ...')
- unity_success = system("unity -executeMethod NIXBuilder.MakeiOSBuild -projectPath #{root_working_dir} -batchmode -logFile -quit -customArgs:path='#{ios_project_path}'")
+ unity_success = system("unity -executeMethod NIXBuilder.MakeiOSBuild -projectPath #{root_working_dir.shellescape} -batchmode -logFile -quit -customArgs:path='#{ios_project_path}'")
abort('Build unity error!') unless unity_success
p('IOS project was generated.')
need_chdir_to_root_working_dir = true