summaryrefslogtreecommitdiff
path: root/scripts/gen-dependencies.sh
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-07-19 10:41:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-07-19 10:41:56 +0000
commit1ffa67e0c6a32e56fe9a08dba814723af8c2bc54 (patch)
tree65aed7662a521c586684a016d5a116d6fb5bdfe1 /scripts/gen-dependencies.sh
parent1b5aa23ca2154189a3844b41f76c3ca797e07ceb (diff)
downloadmtk-20170518-1ffa67e0c6a32e56fe9a08dba814723af8c2bc54.zip
mtk-20170518-1ffa67e0c6a32e56fe9a08dba814723af8c2bc54.tar.gz
mtk-20170518-1ffa67e0c6a32e56fe9a08dba814723af8c2bc54.tar.bz2
scripts/gen-dependencies.sh: clean up temp files
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37430
Diffstat (limited to 'scripts/gen-dependencies.sh')
-rwxr-xr-xscripts/gen-dependencies.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/gen-dependencies.sh b/scripts/gen-dependencies.sh
index 53c80cd..de8d673 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