diff options
-rwxr-xr-x | init_buildsystem | 5 |
1 files changed, 5 insertions, 0 deletions
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 |