From ff96cba77bc29b8541e4218d89697a6e5d8a39f2 Mon Sep 17 00:00:00 2001
From: Tiago Freitas Pereira <tiagofrepereira@gmail.com>
Date: Thu, 6 Jun 2019 13:38:09 +0200
Subject: [PATCH] Patched the pattern for the git clean command

---
 bob/devtools/build.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bob/devtools/build.py b/bob/devtools/build.py
index 11def1e4..890da1c0 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',
-- 
GitLab