ソースを参照

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__"}