aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-09-13 19:17:08 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-09-13 19:17:54 +0200
commita8647f304cd84301c9b3163a9aecd55ad52e783b (patch)
treeef6714a11dffd2a640b369ae2d38114244beda5b
parent15aae98cf0ea9d73e7e8d75539ae3e909446a5db (diff)
fix build: properly remove artifacts
The jenkins scripts are run by sh, which does not support the {a,b} syntax shell glob. As a result, old build artifacts pile up in the workspaces. Use two separate lines to remove .tgz and .md5. Change-Id: Ib7e5995aa6914e34f8b7bbb8a8ed46ff9230a913
-rw-r--r--contrib/jenkins-build-common.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/jenkins-build-common.sh b/contrib/jenkins-build-common.sh
index a5b34af..39046ef 100644
--- a/contrib/jenkins-build-common.sh
+++ b/contrib/jenkins-build-common.sh
@@ -56,7 +56,8 @@ export LD_LIBRARY_PATH="$prefix_real/lib:$LD_LIBRARY_PATH"
env | grep -v "^LESS" | sort
# clean the workspace
-rm -f "$base"/*.build-*.{tgz,md5}
+rm -f "$base"/*.build-*.tgz
+rm -f "$base"/*.build-*.md5
rm -rf "$prefix_real"
mkdir -p "$prefix_real"