diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-11-19 00:03:34 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-11-19 00:03:34 +0000 |
commit | 13f5ebaf8ed9ef98f10c2c3a554592217e237d82 (patch) | |
tree | 34c21ef9a3f8a37c7f65d9b4728af301c36251ec /scripts | |
parent | 35b6be4a6500952837cf348a86ac3e0d69ac2199 (diff) | |
download | mtk-20170518-13f5ebaf8ed9ef98f10c2c3a554592217e237d82.zip mtk-20170518-13f5ebaf8ed9ef98f10c2c3a554592217e237d82.tar.gz mtk-20170518-13f5ebaf8ed9ef98f10c2c3a554592217e237d82.tar.bz2 |
scripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in tmp/
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38860
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/gen-dependencies.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gen-dependencies.sh b/scripts/gen-dependencies.sh index 889255a..85962e7 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 |