diff options
author | Ben Kochie <superq@gmail.com> | 2018-04-11 10:53:57 +0200 |
---|---|---|
committer | Ben Kochie <superq@gmail.com> | 2018-04-11 12:08:00 +0200 |
commit | 1bdfe7731589f6d6ac23f116214d19fb4308ba8e (patch) | |
tree | 559c3c2a32e1a1c1e848edfb79b304ef1b87ded8 /Makefile | |
parent | 9e485f11578b40915db8668ef9060a014d9cea2f (diff) | |
download | prometheus_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-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -91,6 +91,7 @@ skip-test-32bit: | |||
91 | 91 | ||
92 | collector/fixtures/sys/.unpacked: collector/fixtures/sys.ttar | 92 | collector/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 | ||