aboutsummaryrefslogtreecommitdiff
path: root/tcwg-gnu-patch-benchmarking.yaml
diff options
context:
space:
mode:
authorYvan Roux <yvan.roux@linaro.org>2018-03-13 15:40:38 +0100
committerYvan Roux <yvan.roux@linaro.org>2018-03-13 15:40:38 +0100
commit7334342e8c2d896d432222bd1a42c17347b01fab (patch)
tree670abf4640905b18fe9e05da9b83bf2de7e1d079 /tcwg-gnu-patch-benchmarking.yaml
parenteea1df68dc5ac695efd48c9a34f5fafa72bed6ae (diff)
downloadconfigs-7334342e8c2d896d432222bd1a42c17347b01fab.tar.gz
tcwg-gnu-patch-benchmarking: Remove tmp dirs.
Change-Id: I84b2d9d20ea36568856d8af513ea37d202ec9c75
Diffstat (limited to 'tcwg-gnu-patch-benchmarking.yaml')
-rw-r--r--tcwg-gnu-patch-benchmarking.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/tcwg-gnu-patch-benchmarking.yaml b/tcwg-gnu-patch-benchmarking.yaml
index fb3b8953d..2738c6bc3 100644
--- a/tcwg-gnu-patch-benchmarking.yaml
+++ b/tcwg-gnu-patch-benchmarking.yaml
@@ -194,6 +194,8 @@
# Hackish way to get tarball name from json api
TAR_REF_NAME=$(wget --quiet ${BF_URL_PREFIX}/${REFNUM}/${BF_URL_SUFIX}/api/json?pretty=true -O -| grep -P "fileName.*\"gcc-linaro-.*.tar.xz\"" | awk '{print $3}' | sed -e 's/[",]//g')
TAR_PATCH_NAME=$(wget --quiet ${BF_URL_PREFIX}/${PATCHNUM}/${BF_URL_SUFIX}/api/json?pretty=true -O -| grep -P "fileName.*\"gcc-linaro-.*.tar.xz\"" | awk '{print $3}' | sed -e 's/[",]//g')
+
+ rm -rf ref-tools
mkdir -p ref-tools
cd ref-tools
wget --progress=dot -e dotbytes=2M "${BF_URL_PREFIX}/${REFNUM}/${BF_URL_SUFIX}/artifact/artifacts/${TAR_REF_NAME}"
@@ -201,6 +203,7 @@
REF_CCPREFIX=$(readlink -f gcc-linaro-*/bin)/${target}-
cd ..
+ rm -rf patch-tools
mkdir -p patch-tools
cd patch-tools
wget --progress=dot -e dotbytes=2M "${BF_URL_PREFIX}/${PATCHNUM}/${BF_URL_SUFIX}/artifact/artifacts/${TAR_PATCH_NAME}"