summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2005-03-02 20:04:43 +0000
committerHeinrich Wendel <lanius@gentoo.org>2005-03-02 20:04:43 +0000
commitde6f9aae14410cb88961778ceb37d6147a5d920a (patch)
treee89ff7eedbfe8a7cae73ef4a0f157c7b2ac7013e /x11-libs/motif-config
parentStable on ppc64 (diff)
downloadgentoo-2-de6f9aae14410cb88961778ceb37d6147a5d920a.tar.gz
gentoo-2-de6f9aae14410cb88961778ceb37d6147a5d920a.tar.bz2
gentoo-2-de6f9aae14410cb88961778ceb37d6147a5d920a.zip
small fix
(Portage version: 2.0.51-r15)
Diffstat (limited to 'x11-libs/motif-config')
-rwxr-xr-xx11-libs/motif-config/files/motif-config-0.32
1 files changed, 1 insertions, 1 deletions
diff --git a/x11-libs/motif-config/files/motif-config-0.3 b/x11-libs/motif-config/files/motif-config-0.3
index c7a453420e7a..f4bb0a644479 100755
--- a/x11-libs/motif-config/files/motif-config-0.3
+++ b/x11-libs/motif-config/files/motif-config-0.3
@@ -123,7 +123,7 @@ switch_profile() {
_activate_profile $1
fi
else
- for x in `ls ${PROFILE_PATH}`; do
+ for x in `ls ${PROFILE_PATH} | sort -r`; do
if [ "${x}" != "current" -a "${x}" != "removed" ]; then
_deactivate_profile
_activate_profile ${x}