瀏覽代碼

Don't use token for default name of SATURNIN_META_HELP

MKit (as of 0.0.25, and probably for long time in furure) ignores tokens
not defined in mkit.ini, so app developer has to either define it or
their users will see errors on every `app --help call`.

This way we can remove the need to define yet another token.
Alois Mahdal 7 年之前
父節點
當前提交
ca697b1b97
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/app.skel

+ 1
- 1
src/app.skel 查看文件

@@ -11,7 +11,7 @@
11 11
     SATURNIN_CACHE_HOME=${SATURNIN_CACHE_HOME:-"__SATURNIN_CACHE_HOME__"}
12 12
     SATURNIN_CONFIG_HOME=${SATURNIN_CONFIG_HOME:-"__SATURNIN_CONFIG_HOME__"}
13 13
     SATURNIN_DATA_HOME=${SATURNIN_DATA_HOME:-"__SATURNIN_DATA_HOME__"}
14
-    SATURNIN_META_HELP=${SATURNIN_META_HELP:-"+__SATURNIN_META_HELP__"}
14
+    SATURNIN_META_HELP=${SATURNIN_META_HELP:-"+__SATURNIN_SHARE__/help"}
15 15
     SATURNIN_LIBEXEC=${SATURNIN_LIBEXEC:-"__SATURNIN_LIBEXEC__"}
16 16
     SATURNIN_LIBEXEC_PREFIX="__MKIT_PROJ_PKGNAME__-"
17 17
     SHELLFU_PATH=${SHELLFU_PATH:-"__SATURNIN_SHELLFU_DIR__"}