aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgcc-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-config b/gcc-config
index 1ab646b..8b4fd20 100755
--- a/gcc-config
+++ b/gcc-config
@@ -1015,7 +1015,7 @@ for x in "$@" ; do
if [[ -z $(echo ${x} | tr -d '[:digit:]') ]] ; then
# User gave us a # representing the profile
i=1
- for y in "${GCC_ENV_D}"/* ; do
+ for y in $(version_sorted_paths "${GCC_ENV_D}"/*) ; do
[[ -f ${y} ]] || continue
[[ ${y} == */config* ]] && continue