aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps/linux32/prepare-depends
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2014-11-20 14:09:44 +0100
committerMemphiz <memphis@machzwo.de>2014-11-20 15:15:08 +0100
commitf6d7b1d51e3959b7f9d5003b5f24902120e6d7df (patch)
treec2a2f733322306988d0cfda82a0a9050ee5fa589 /tools/buildsteps/linux32/prepare-depends
parent327f4a3f9e66992f8d5d1300ed68d1021da2057e (diff)
[jenkins] - refactor jenkins scripts to centralise the decision for
rebuilding depends - add project/cmake dir as criterion
Diffstat (limited to 'tools/buildsteps/linux32/prepare-depends')
-rwxr-xr-xtools/buildsteps/linux32/prepare-depends4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/buildsteps/linux32/prepare-depends b/tools/buildsteps/linux32/prepare-depends
index 0678e4c114..13df413142 100755
--- a/tools/buildsteps/linux32/prepare-depends
+++ b/tools/buildsteps/linux32/prepare-depends
@@ -3,9 +3,9 @@ XBMC_PLATFORM_DIR=linux32
. $WORKSPACE/tools/buildsteps/defaultenv
#clean without depends for skipping depends build if possible
-cd $WORKSPACE;git clean -xfd -e "tools/depends"
+cd $WORKSPACE;git clean -xfd -e "project/cmake/.last_success_revision" -e "tools/depends"
-if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ]
+if [ "$(rebuildDepends)" == "1" ]
then
#clean up the rest too
cd $WORKSPACE;git clean -xffd