From 862417c2e2c2158d425eb96dc9dd502da28b6ea8 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 16 Jul 2013 18:12:21 -0400 Subject: include: Sort and uniq cmd_include_feeds. --- (limited to 'lib/cmd') 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 -- cgit v0.9.1