projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b5aa23
)
scripts/gen-dependencies.sh: clean up temp files
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 19 Jul 2013 10:41:56 +0000
(10:41 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 19 Jul 2013 10:41:56 +0000
(10:41 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37430
scripts/gen-dependencies.sh
patch
|
blob
|
history
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