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:
authorBastien Montagne <montagne29@wanadoo.fr>2018-01-08 18:33:56 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-01-08 19:23:33 +0300
commitb01fe3bf01e090711371476ec878660dd82fe22f (patch)
treebf475078384ce1075c58346de171d1bdd0d97ca8
parent4c8aa61be2bbb13a7474cf76ee91c7859f32f2f5 (diff)
install_deps: Fix OCIO always re-cloning its whole git repository.
-rwxr-xr-xbuild_files/build_environment/install_deps.sh6
1 files changed, 5 insertions, 1 deletions
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
}