scripts/gen-dependencies.sh: clean up temp files
[openwrt/staging/dedeckeh.git] / 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