diff options
author | P. J. McDermott <pjm@nac.net> | 2013-07-16 18:12:21 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-07-16 18:12:21 (EDT) |
commit | 862417c2e2c2158d425eb96dc9dd502da28b6ea8 (patch) | |
tree | 98ad524b95e51e045fa09403bc2e22cc281a827b /lib | |
parent | c809cec61493920217008682fb42726c25fd8685 (diff) |
include: Sort and uniq cmd_include_feeds.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cmd/include.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/cmd/include.sh b/lib/cmd/include.sh index e2d3962..6302893 100644 --- a/lib/cmd/include.sh +++ b/lib/cmd/include.sh @@ -41,6 +41,8 @@ cmd_include_main() cmd_include "${changes}" done + cmd_include_feeds="$(printf '%s' "${cmd_include_feeds}" | \ + LC_COLLATE='C' sort | uniq)" for feed in ${cmd_include_feeds}; do cmd_generate_index "${feed}" done |