mirror of https://github.com/hak5/openwrt.git
scripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in tmp/
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38860lede-17.01
parent
35b6be4a65
commit
13f5ebaf8e
|
@ -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 New Issue