|
@@ -408,14 +408,13 @@ saturnin__help() {
|
408
|
408
|
|
409
|
409
|
saturnin__conf_mkpath() {
|
410
|
410
|
#
|
411
|
|
- # Print new $SATURNIN_CONF_PATH by appending locations $@
|
|
411
|
+ # Compose new value for $SATURNIN_CONF_PATH from locations $@
|
412
|
412
|
#
|
413
|
413
|
# Usage:
|
414
|
414
|
#
|
415
|
415
|
# saturnin__conf_mkpath DIR [DIR..]
|
416
|
416
|
#
|
417
|
|
- # First repeat elements of $SATURNIN_CONF_PATH unless it's empty.
|
418
|
|
- # Then go through each DIR and print it, unless it ends with "/ini.d",
|
|
417
|
+ # Go through each DIR and print it, unless it ends with "/ini.d",
|
419
|
418
|
# in which case list its subdirectories, sorted by C locale (this allows
|
420
|
419
|
# for modular configuration).
|
421
|
420
|
#
|
|
@@ -423,7 +422,6 @@ saturnin__conf_mkpath() {
|
423
|
422
|
#
|
424
|
423
|
local location # one location argument
|
425
|
424
|
local path # one path listed
|
426
|
|
- test -n "$SATURNIN_CONF_PATH" && echo -n "$SATURNIN_CONF_PATH:"
|
427
|
425
|
for location in "$@";
|
428
|
426
|
do
|
429
|
427
|
test -d "$location" || continue
|