Procházet zdrojové kódy

Explicitly sort modules (by C locale)

Alois Mahdal před 11 roky
rodič
revize
6f23cfc46e
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2
    1
      src/bin/saturnin.skel

+ 2
- 1
src/bin/saturnin.skel Zobrazit soubor

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() {