From: Felix Fietkau Date: Tue, 19 Nov 2013 00:03:34 +0000 (+0000) Subject: scripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in... X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=13f5ebaf8ed9ef98f10c2c3a554592217e237d82;p=openwrt%2Fstaging%2Fzorun.git scripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in tmp/ Signed-off-by: Felix Fietkau SVN-Revision: 38860 --- diff --git a/scripts/gen-dependencies.sh b/scripts/gen-dependencies.sh index 889255a167..85962e74b2 100755 --- a/scripts/gen-dependencies.sh +++ b/scripts/gen-dependencies.sh @@ -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