scripts/gen-dependencies.sh: clean up temp files

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

SVN-Revision: 37430
This commit is contained in:
Felix Fietkau 2013-07-19 10:41:56 +00:00
parent 1b5aa23ca2
commit 1ffa67e0c6

View File

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