Browse Source

Explicitly sort modules (by C locale)

Alois Mahdal 9 years ago
parent
commit
6f23cfc46e
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/bin/saturnin.skel

+ 2
- 1
src/bin/saturnin.skel View File

11
     # Find existing modules (ini.d sub-folders)
11
     # Find existing modules (ini.d sub-folders)
12
     #
12
     #
13
     test -d "$1" || return 0
13
     test -d "$1" || return 0
14
-    find -L "$1" -mindepth 1 -maxdepth 1 -type d
14
+    find -L "$1" -mindepth 1 -maxdepth 1 -type d \
15
+      | LC_ALL=C sort
15
 }
16
 }
16
 
17
 
17
 inigrep_paths() {
18
 inigrep_paths() {