From: Felix Fietkau Date: Fri, 19 Jul 2013 10:41:56 +0000 (+0000) Subject: scripts/gen-dependencies.sh: clean up temp files X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1ffa67e0c6a32e56fe9a08dba814723af8c2bc54;p=openwrt%2Fstaging%2Fnbd.git scripts/gen-dependencies.sh: clean up temp files Signed-off-by: Felix Fietkau SVN-Revision: 37430 --- diff --git a/scripts/gen-dependencies.sh b/scripts/gen-dependencies.sh index 53c80cd837..de8d67376e 100755 --- a/scripts/gen-dependencies.sh +++ b/scripts/gen-dependencies.sh @@ -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