Explorar el Código

Respect $SATURNIN_CONF_PATH from environment

Turns out that leaving this to saturnin__conf_mkpath() is not so good
idea.
Alois Mahdal hace 6 años
padre
commit
cf5803ea43
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/app.skel

+ 1
- 1
src/app.skel Ver fichero

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