aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2011-11-15 20:32:44 +0100
committerdlezcano <dlezcano@mai.(none)>2011-11-15 20:32:44 +0100
commit9a87e85503430b6d0f4beabb82847c5f2963908b (patch)
tree5219687a0a4ab33de7f0d028df1c3b74ee2825c2
parent5da77630cac779346f864b1a91a4a0d483ad83ea (diff)
Fix test.mk when no log is defined
When the $LOG variable is empty, do not remove the files Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rw-r--r--Test.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test.mk b/Test.mk
index 655527c..a265286 100644
--- a/Test.mk
+++ b/Test.mk
@@ -36,7 +36,7 @@ check: uncheck $(LOG)
@./$< 2> $@
clean:
- rm -f $(LOG)
+ @test ! -z "$(LOG)" && rm -f $(LOG)
uncheck: clean