projects
/
grml-hwinfo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d61f73b
)
Get rid of generated files which are empty
author
Michael Prokop
<mika@grml.org>
Wed, 15 Aug 2012 23:31:58 +0000
(
01:31
+0200)
committer
Michael Prokop
<mika@grml.org>
Wed, 15 Aug 2012 23:32:00 +0000
(
01:32
+0200)
grml-hwinfo
patch
|
blob
|
history
diff --git
a/grml-hwinfo
b/grml-hwinfo
index
faf0e74
..
9b261c1
100755
(executable)
--- 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}"