aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBen Kochie <superq@gmail.com>2018-04-14 15:00:39 +0200
committerGitHub <noreply@github.com>2018-04-14 15:00:39 +0200
commit4c863f3b5d584365424049d41881e2ceefc3d027 (patch)
treea7ab08864ba8353738f5d6b2bb2c9d94c4463e39 /Makefile
parenteddd1b9357d951d29c9ea5ed722574dd2110d253 (diff)
parent1bdfe7731589f6d6ac23f116214d19fb4308ba8e (diff)
downloadprometheus_node_collector-4c863f3b5d584365424049d41881e2ceefc3d027.tar.bz2
prometheus_node_collector-4c863f3b5d584365424049d41881e2ceefc3d027.tar.xz
prometheus_node_collector-4c863f3b5d584365424049d41881e2ceefc3d027.zip
Merge pull request #894 from prometheus/superq/ttar_cleanup
Cleanup sys fixtures before unpacking
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0f8d22e..0e4b2f4 100644
--- a/Makefile
+++ b/Makefile
@@ -91,6 +91,7 @@ skip-test-32bit:
91 91
92collector/fixtures/sys/.unpacked: collector/fixtures/sys.ttar 92collector/fixtures/sys/.unpacked: collector/fixtures/sys.ttar
93 @echo ">> extracting sysfs fixtures" 93 @echo ">> extracting sysfs fixtures"
94 if [ -d collector/fixtures/sys ] ; then rm -r collector/fixtures/sys ; fi
94 ./ttar -C collector/fixtures -x -f collector/fixtures/sys.ttar 95 ./ttar -C collector/fixtures -x -f collector/fixtures/sys.ttar
95 touch $@ 96 touch $@
96 97