scripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in tmp/
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38860 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4b3a01bb97
commit
227b3b2d61
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=' | \
|
egrep -a '^depends=' | \
|
||||||
sed -e 's,^depends=,,' -e 's/,/\n/g' | \
|
sed -e 's,^depends=,,' -e 's/,/\n/g' | \
|
||||||
awk '{ print $1 ".ko" }'
|
awk '{ print $1 ".ko" }'
|
||||||
rm -f $tmp
|
|
||||||
done | sort -u
|
done | sort -u
|
||||||
|
rm -f $tmp
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue