Skip to content

Commit

Permalink
Get rid of generated files which are empty
Browse files Browse the repository at this point in the history
  • Loading branch information
mika committed Aug 15, 2012
1 parent d61f73b commit 3408832
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions grml-hwinfo
Expand Up @@ -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}"
Expand Down

0 comments on commit 3408832

Please sign in to comment.