浏览代码

Respect $SATURNIN_CONF_PATH from environment

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

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

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