From 34088327a8f5b5801d891a2014eeb17b6e7ae1e0 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 16 Aug 2012 01:31:58 +0200 Subject: [PATCH] Get rid of generated files which are empty --- grml-hwinfo | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/grml-hwinfo b/grml-hwinfo index faf0e74..9b261c1 100755 --- a/grml-hwinfo +++ b/grml-hwinfo @@ -257,6 +257,11 @@ else fi ) +# get rid of empty files +for file in *; do + test -s $file || rm $file +done + echo cd "${WORKING_DIR}" -- 2.1.4