From 1bdfe7731589f6d6ac23f116214d19fb4308ba8e Mon Sep 17 00:00:00 2001 From: Ben Kochie Date: Wed, 11 Apr 2018 10:53:57 +0200 Subject: [PATCH] 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 --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 04ebfe46..c8c127b2 100644 --- a/Makefile +++ b/Makefile @@ -91,6 +91,7 @@ skip-test-32bit: collector/fixtures/sys/.unpacked: collector/fixtures/sys.ttar @echo ">> extracting sysfs fixtures" + if [ -d collector/fixtures/sys ] ; then rm -r collector/fixtures/sys ; fi ./ttar -C collector/fixtures -x -f collector/fixtures/sys.ttar touch $@