diff --git a/bob/devtools/build.py b/bob/devtools/build.py index 11def1e4def56bbc698cc5919c27a88f94f337eb..890da1c09e51d729e67bae9db6ba3c9b1e0623f0 100644 --- a/bob/devtools/build.py +++ b/bob/devtools/build.py @@ -454,10 +454,10 @@ def git_clean_build(runner, verbose): ] # cache - exclude_from_cleanup += glob.glob("miniconda/pkgs/*.tar.bz2") + exclude_from_cleanup += ["miniconda/pkgs/"] # artifacts - exclude_from_cleanup += glob.glob("miniconda/conda-bld/*/*.tar.bz2") + exclude_from_cleanup += ["miniconda/conda-bld/"] exclude_from_cleanup += glob.glob("dist/*.zip") logger.debug('Excluding the following paths from git-clean:\n - %s',