projects
/
openwrt
/
staging
/
blogic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scripts/gen-dependencies.sh: clean up temp files
[openwrt/staging/blogic.git]
/
scripts
/
gen-dependencies.sh
diff --git
a/scripts/gen-dependencies.sh
b/scripts/gen-dependencies.sh
index 53c80cd837146353ac634da79be8b9ffb69c15ff..de8d67376e702fa4bef923110f722e1151556c69 100755
(executable)
--- 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