scripts/gen-dependencies.sh: clean up temp files
authorFelix Fietkau <nbd@openwrt.org>
Fri, 19 Jul 2013 10:41:56 +0000 (10:41 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 19 Jul 2013 10:41:56 +0000 (10:41 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37430

scripts/gen-dependencies.sh

index 53c80cd837146353ac634da79be8b9ffb69c15ff..de8d67376e702fa4bef923110f722e1151556c69 100755 (executable)
@@ -31,4 +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