[Bf-blender-cvs] [b01fe3bf01e] blender-v2.79a-release: install_deps: Fix OCIO always re-cloning its whole git repository.

Bastien Montagne noreply at git.blender.org
Mon Jan 8 17:24:11 CET 2018


Commit: b01fe3bf01e090711371476ec878660dd82fe22f
Author: Bastien Montagne
Date:   Mon Jan 8 16:33:56 2018 +0100
Branches: blender-v2.79a-release
https://developer.blender.org/rBb01fe3bf01e090711371476ec878660dd82fe22f

install_deps: Fix OCIO always re-cloning its whole git repository.

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

M	build_files/build_environment/install_deps.sh

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

diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh
index 340f4fda8d2..1adf7ec14bb 100755
--- a/build_files/build_environment/install_deps.sh
+++ b/build_files/build_environment/install_deps.sh
@@ -1262,7 +1262,11 @@ compile_Boost() {
 #### Build OCIO ####
 _init_ocio() {
   _src=$SRC/OpenColorIO-$OCIO_VERSION
-  _git=false
+  if [ "$OCIO_USE_REPO" = true ]; then
+    _git=true
+  else
+    _git=false
+  fi
   _inst=$INST/ocio-$OCIO_VERSION
   _inst_shortcut=$INST/ocio
 }



More information about the Bf-blender-cvs mailing list