[Bf-blender-cvs] [4c295ad4780] master: install_deps.sh: No longer forcing Alembic sources to be redownloaded

Sybren A. Stüvel noreply at git.blender.org
Tue Dec 24 12:14:53 CET 2019


Commit: 4c295ad47805acddfff2254f53c56644fbbb68b9
Author: Sybren A. Stüvel
Date:   Tue Dec 24 11:29:37 2019 +0100
Branches: master
https://developer.blender.org/rB4c295ad47805acddfff2254f53c56644fbbb68b9

install_deps.sh: No longer forcing Alembic sources to be redownloaded

For no apparent reason, when building Alembic the script would always
re-download and re-extract the Alembic source code. This is no longer the
case, and it now only happens if the source directory is missing. Since the
source directory name contains the Alembic version, it will automatically
trigger a download+extract when the version changes.

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

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 b6184ecb33a..4e69bf08dd2 100755
--- a/build_files/build_environment/install_deps.sh
+++ b/build_files/build_environment/install_deps.sh
@@ -2353,7 +2353,7 @@ compile_ALEMBIC() {
 
     prepare_opt
 
-    if [ ! -d $_src -o true ]; then
+    if [ ! -d $_src ]; then
       mkdir -p $SRC
       download ALEMBIC_SOURCE[@] "$_src.tar.gz"



More information about the Bf-blender-cvs mailing list