[Bf-blender-cvs] [850f73638ce] master: install_deps: Fix OCIO always re-cloning its whole git repository.

Bastien Montagne noreply at git.blender.org
Mon Jan 8 16:34:44 CET 2018


Commit: 850f73638ce96ba87e1fbb1b7185f9021d857e8f
Author: Bastien Montagne
Date:   Mon Jan 8 16:33:56 2018 +0100
Branches: master
https://developer.blender.org/rB850f73638ce96ba87e1fbb1b7185f9021d857e8f

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 4d43af37bc8..c110f274db8 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