summaryrefslogtreecommitdiff
path: root/x11/kde4
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2005-10-12 18:44:27 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2005-10-12 18:44:27 +0000
commitd9081a3ee0226a9a24a66d966ef8871478fb3ee2 (patch)
tree7b9793f782fd9b52bc2609b7f0ba249b284c5f3d /x11/kde4
parentPacify distfile survey and remove stale email address. (diff)
Sort the module lists before comm-paring them.
Submitted by: jhb
Notes
Notes: svn path=/head/; revision=145133
Diffstat (limited to 'x11/kde4')
-rw-r--r--x11/kde4/scripts/configure.kde34
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/kde4/scripts/configure.kde3 b/x11/kde4/scripts/configure.kde3
index 45b711ebc41b..a3cfafc8d9ae 100644
--- a/x11/kde4/scripts/configure.kde3
+++ b/x11/kde4/scripts/configure.kde3
@@ -91,7 +91,7 @@ Please select what additional KDE modules you would like to install.\n\n" \
## Write out all the module names into a newline-delimited list...
if [ -f $tempallmodules ]; then
- ${ECHO} "$ALL_MODULES" | ${SED} -E -e 's/[[:space:]]+/ /g' | ${TR} '[:space:]' '\n' > $tempallmodules
+ ${ECHO} "$ALL_MODULES" | ${SED} -E -e 's/[[:space:]]+/ /g' | ${TR} '[:space:]' '\n' | sort > $tempallmodules
fi
## ...do the same for the selection made in the dialog, comm -23 the
@@ -99,7 +99,7 @@ Please select what additional KDE modules you would like to install.\n\n" \
if [ -s $tempselection ]; then
${CAT} $tempselection | ${SED} -E -e 's/KDEACCESS./KDEACCESSIBILITY/g' -e 's/[[:space:]]+/ /g' \
- -e 's/"//g' | ${TR} '[:space:]' '\n' > $tempprocessed
+ -e 's/"//g' | ${TR} '[:space:]' '\n' | sort > $tempprocessed
set `/usr/bin/comm -23 $tempallmodules $tempprocessed`
fi