浏览代码

Respect $SATURNIN_CONF_PATH from environment

Turns out that leaving this to saturnin__conf_mkpath() is not so good
idea.
Alois Mahdal 7 年前
父节点
当前提交
cf5803ea43
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/app.skel

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

20
 
20
 
21
 shellfu import saturnin
21
 shellfu import saturnin
22
 
22
 
23
-SATURNIN_CONF_PATH="$(
23
+test -n "$SATURNIN_CONF_PATH" || SATURNIN_CONF_PATH="$(
24
     saturnin__conf_mkpath \
24
     saturnin__conf_mkpath \
25
         "__SATURNIN_CONFIG_HOME__/ini.d" \
25
         "__SATURNIN_CONFIG_HOME__/ini.d" \
26
         "__SATURNIN_CONFIG_HOME__" \
26
         "__SATURNIN_CONFIG_HOME__" \