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: prevent zero-length dep.* files from accumulating in...
[openwrt/staging/blogic.git]
/
scripts
/
gen-dependencies.sh
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