Skip to content
Snippets Groups Projects
Commit 13f5ebaf authored by Felix Fietkau's avatar Felix Fietkau
Browse files

scripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in tmp/


Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

SVN-Revision: 38860
parent 35b6be4a
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment