summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-19 10:41:56 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-19 10:41:56 +0000
commit36b6a6a7aeceead363e19db4c89797665a891b60 (patch)
treec11dca15e661769ce6399529bbc0baf5e5028e0d
parent2fff934406e8e9555835310d9b661f3bc7b9b43c (diff)
scripts/gen-dependencies.sh: clean up temp files
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37430 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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