aboutsummaryrefslogtreecommitdiffstats
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)
downloadupstream-1ffa67e0c6a32e56fe9a08dba814723af8c2bc54.tar.gz
upstream-1ffa67e0c6a32e56fe9a08dba814723af8c2bc54.tar.bz2
upstream-1ffa67e0c6a32e56fe9a08dba814723af8c2bc54.zip
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 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