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 53c80cd..de8d673 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