From 30e559033f0e5fa96fe65212e5e316aa2283e011 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Fri, 28 Sep 2012 09:59:18 +0200 Subject: [PATCH] - rebuild dep file if --clean is given and a remote repo is used --- init_buildsystem | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init_buildsystem b/init_buildsystem index a9009be..dadf506 100755 --- a/init_buildsystem +++ b/init_buildsystem @@ -376,6 +376,11 @@ validate_cache_file() rm -f $CACHE_FILE.id break fi + # always rebuild if we have remote repositories and --clean is given + if test -n "$CLEAN_BUILD" -a "$SRC" != "${SRC#*://}" ; then + rm -f $CACHE_FILE.id + break + fi done fi if ! test -f $CACHE_FILE.id ; then -- 2.7.4