projects
/
openwrt
/
staging
/
robimarko.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35b6be4
)
scripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in...
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 19 Nov 2013 00:03:34 +0000
(
00:03
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 19 Nov 2013 00:03:34 +0000
(
00:03
+0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38860
scripts/gen-dependencies.sh
patch
|
blob
|
history
diff --git
a/scripts/gen-dependencies.sh
b/scripts/gen-dependencies.sh
index 889255a16731807cc7ad8bee8e7478b8dbb24db4..85962e74b2a24b9d8583cb7a0de5fdb2fb078d58 100755
(executable)
--- a/
scripts/gen-dependencies.sh
+++ b/
scripts/gen-dependencies.sh
@@
-31,5
+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
+rm -f $tmp