From: Felix Fietkau Date: Thu, 18 Jul 2013 11:57:36 +0000 (+0000) Subject: gen-dependencies.sh: sort kmod dependencies X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7e96fc8366b3b566787d9aa444189c2ab9e78ebb;p=openwrt%2Fsvn-archive%2Farchive.git gen-dependencies.sh: sort kmod dependencies Signed-off-by: Felix Fietkau SVN-Revision: 37390 --- diff --git a/scripts/gen-dependencies.sh b/scripts/gen-dependencies.sh index f324ba6c44..53c80cd837 100755 --- a/scripts/gen-dependencies.sh +++ b/scripts/gen-dependencies.sh @@ -31,4 +31,4 @@ 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" }' -done +done | sort -u