diff options
author | Sebastian <sebasjm@gmail.com> | 2024-10-23 09:57:24 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-10-23 09:58:21 -0300 |
commit | f3774ba75b89f8640740e3bc423f44cd536de7ac (patch) | |
tree | 56f157056b74c67287ca08ad1be422389db2d88a | |
parent | 72e4564146de8c5d078536102887b939ca31bffa (diff) |
take location and output from env
and allow the terms generator to prevent using taler-config cli with default configuration location
-rwxr-xr-x | contrib/taler-terms-generator | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/taler-terms-generator b/contrib/taler-terms-generator index 4a25afa4b..274a1927e 100755 --- a/contrib/taler-terms-generator +++ b/contrib/taler-terms-generator @@ -88,8 +88,8 @@ function failcat() { # defaults AUTHOR="GNU Taler team" VERSION="exchange-tos-v0" -LOCALE_DIR=$(taler-config -s "PATHS" -o "LOCALEDIR" -f) -OUTPUT=$(taler-config -s "EXCHANGE" -o "TERMS_DIR" -f) +LOCALE_DIR=${TALER_PATHS_LOCALEDIR:-$(taler-config -s "PATHS" -o "LOCALEDIR" -f)} +OUTPUT=${TALER_EXCHANGE_TERMS_DIR:-$(taler-config -s "EXCHANGE" -o "TERMS_DIR" -f)} PAPER="a4" COPYRIGHT="2014-2023 Taler Systems SA (GPLv3+ or GFDL 1.3+)" INCREMENTAL=0 |