Parcourir la source

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 il y a 7 ans
Parent
révision
ca697b1b97
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      src/app.skel

+ 1
- 1
src/app.skel Voir le fichier

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