aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBen Kochie <superq@gmail.com>2018-04-11 10:53:57 +0200
committerBen Kochie <superq@gmail.com>2018-04-11 12:08:00 +0200
commit1bdfe7731589f6d6ac23f116214d19fb4308ba8e (patch)
tree559c3c2a32e1a1c1e848edfb79b304ef1b87ded8 /Makefile
parent9e485f11578b40915db8668ef9060a014d9cea2f (diff)
downloadprometheus_node_collector-1bdfe7731589f6d6ac23f116214d19fb4308ba8e.tar.bz2
prometheus_node_collector-1bdfe7731589f6d6ac23f116214d19fb4308ba8e.tar.xz
prometheus_node_collector-1bdfe7731589f6d6ac23f116214d19fb4308ba8e.zip
Cleanup sys fixtures before unpacking
Make sure we cleanup the sys fixtures before unpacking to avoid obsolete files and conflicts from sticking around. Signed-off-by: Ben Kochie <superq@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 04ebfe4..c8c127b 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