From: Felix Fietkau Date: Thu, 18 Jul 2013 11:57:36 +0000 (+0000) Subject: gen-dependencies.sh: sort kmod dependencies X-Git-Tag: reboot~9842 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ccebc5a091d95af723c5545dd7b071d3b7027531;p=openwrt%2Fopenwrt.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