Browse Source

Respect $SATURNIN_CONF_PATH from environment

Turns out that leaving this to saturnin__conf_mkpath() is not so good
idea.
Alois Mahdal 7 years ago
parent
commit
cf5803ea43
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/app.skel

+ 1
- 1
src/app.skel View File

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