aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps/osx64/prepare-depends
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2015-02-14 14:54:26 +0100
committerMemphiz <memphis@machzwo.de>2015-02-17 21:35:52 +0100
commit1f08bf3fd3e9d173cd73f8e7bdfce7a94f45b823 (patch)
tree121cb19b156d8201fcb98822dbe7f1ba0202de34 /tools/buildsteps/osx64/prepare-depends
parentb4136fb2097a940f97bff8e20a12b988136881d9 (diff)
[jenkins] - refactor jenkins buildsteps for allowing seperate binary addons building
Diffstat (limited to 'tools/buildsteps/osx64/prepare-depends')
-rwxr-xr-xtools/buildsteps/osx64/prepare-depends5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/buildsteps/osx64/prepare-depends b/tools/buildsteps/osx64/prepare-depends
index 03b10ea823..60df95379d 100755
--- a/tools/buildsteps/osx64/prepare-depends
+++ b/tools/buildsteps/osx64/prepare-depends
@@ -4,9 +4,10 @@ XBMC_PLATFORM_DIR=osx64
#clean without depends for skipping depends build if possible
#also skip binary addons (pvr, audioencoder) as long as they are deployed in tree
-cd $WORKSPACE;git clean -xfd -e "project/cmake/.last_success_revision" -e "tools/depends" -e "addons/pvr.*" -e "addons/audioencoder.*"
+cd $WORKSPACE;git clean -xfd -e "project/cmake/.last_success_revision" -e "tools/depends" ${DEPLOYED_BINARY_ADDONS}
-if [ "$(rebuildDepends)" == "1" ]
+# if depends path has changed - cleanout everything and do a full rebuild
+if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ]
then
#clean up the rest too
cd $WORKSPACE;git clean -xffd