From f6d7b1d51e3959b7f9d5003b5f24902120e6d7df Mon Sep 17 00:00:00 2001 From: Memphiz Date: Thu, 20 Nov 2014 14:09:44 +0100 Subject: [jenkins] - refactor jenkins scripts to centralise the decision for rebuilding depends - add project/cmake dir as criterion --- tools/buildsteps/linux32/prepare-depends | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/buildsteps/linux32/prepare-depends') 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 -- cgit v1.2.3