Bläddra i källkod

Respect $SATURNIN_CONF_PATH from environment

Turns out that leaving this to saturnin__conf_mkpath() is not so good
idea.
Alois Mahdal 9 år sedan
förälder
incheckning
cf5803ea43
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      src/app.skel

+ 1
- 1
src/app.skel Visa fil

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