From 1599a8454a9e5ac8237273062263f749b5df330f Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Tue, 20 Feb 2018 08:11:35 +0100
Subject: [PATCH] Wrap clean commands with run_cmd

---
 gitlab/after_build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gitlab/after_build.sh b/gitlab/after_build.sh
index 3d26868..26ca3d6 100755
--- a/gitlab/after_build.sh
+++ b/gitlab/after_build.sh
@@ -4,11 +4,11 @@ source $(dirname ${0})/functions.sh
 
 # delete the bob packages from the cache otherwise the cache keeps increasing
 # over and over. See https://gitlab.idiap.ch/bob/bob.admin/issues/65
-rm -rf ${CONDA_ROOT}/pkgs/bob*.tar.bz2
+run_cmd rm -rf ${CONDA_ROOT}/pkgs/bob*.tar.bz2
 
 # run git clean to clean everything that is not needed. This helps to keep the
 # disk usage on CI machines to minimum.
-git clean -ffdx \
+run_cmd git clean -ffdx \
     --exclude="miniconda.sh" \
     --exclude="miniconda/pkgs/*.tar.bz2" \
     --exclude="miniconda/pkgs/urls.txt" \
-- 
GitLab