summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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}