scripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in tmp/
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38860
This commit is contained in:
parent
35b6be4a65
commit
13f5ebaf8e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue