Sfoglia il codice sorgente

Explicitly sort modules (by C locale)

Alois Mahdal 9 anni fa
parent
commit
6f23cfc46e
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2
    1
      src/bin/saturnin.skel

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

@@ -11,7 +11,8 @@ inigrep_modules() {
11 11
     # Find existing modules (ini.d sub-folders)
12 12
     #
13 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 18
 inigrep_paths() {