浏览代码

Explicitly sort modules (by C locale)

Alois Mahdal 10 年前
父节点
当前提交
6f23cfc46e
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      src/bin/saturnin.skel

+ 2
- 1
src/bin/saturnin.skel 查看文件

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