scripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in tmp/

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38860
lede-17.01
Felix Fietkau 2013-11-19 00:03:34 +00:00
parent 35b6be4a65
commit 13f5ebaf8e
1 changed files with 1 additions and 1 deletions

View File

@ -31,5 +31,5 @@ for kmod in `find $TARGETS -type f -name \*.ko`; do
egrep -a '^depends=' | \
sed -e 's,^depends=,,' -e 's/,/\n/g' | \
awk '{ print $1 ".ko" }'
rm -f $tmp
done | sort -u
rm -f $tmp