X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=scripts%2Fgen-dependencies.sh;fp=scripts%2Fgen-dependencies.sh;h=85962e74b2a24b9d8583cb7a0de5fdb2fb078d58;hp=889255a16731807cc7ad8bee8e7478b8dbb24db4;hb=13f5ebaf8ed9ef98f10c2c3a554592217e237d82;hpb=35b6be4a6500952837cf348a86ac3e0d69ac2199 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