瀏覽代碼

Explicitly sort modules (by C locale)

Alois Mahdal 9 年之前
父節點
當前提交
6f23cfc46e
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. 2
    1
      src/bin/saturnin.skel

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

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