From 850f73638ce96ba87e1fbb1b7185f9021d857e8f Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 8 Jan 2018 16:33:56 +0100 Subject: install_deps: Fix OCIO always re-cloning its whole git repository. --- build_files/build_environment/install_deps.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'build_files/build_environment') 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 } -- cgit v1.2.3