mirror of
https://github.com/openwrt/openwrt.git
synced 2024-11-23 18:05:20 +08:00
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
@ -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
Block a user