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

This commit is contained in:
Bastien Montagne 2018-01-08 16:33:56 +01:00
parent c8a989d644
commit 850f73638c
Notes: blender-bot 2023-02-14 08:42:53 +01:00
Referenced by issue #53683, 2.79a release
1 changed files with 5 additions and 1 deletions

View File

@ -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
}