aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-07-18 11:57:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-07-18 11:57:36 +0000
commitccebc5a091d95af723c5545dd7b071d3b7027531 (patch)
treed6615e40e4b09d1aa420eb02588df925e1a5be1c
parentb44ece50d422dbd8e4faa602baa1a1166c5d4ae7 (diff)
downloadupstream-ccebc5a091d95af723c5545dd7b071d3b7027531.tar.gz
upstream-ccebc5a091d95af723c5545dd7b071d3b7027531.tar.bz2
upstream-ccebc5a091d95af723c5545dd7b071d3b7027531.zip
gen-dependencies.sh: sort kmod dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37390
-rwxr-xr-xscripts/gen-dependencies.sh2
1 files changed, 1 insertions, 1 deletions
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