summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-09-29 13:30:28 +0200
committerChristian Grothoff <christian@grothoff.org>2023-09-29 13:30:28 +0200
commit74c56c62f0d5b7651e0fb76bc8f21844b0c60f46 (patch)
treee51224565d40fda4406be271a1a6b085d19737dd
parent369e65d766e0de81f529acce8a630daa58cd4138 (diff)
downloadexchange-74c56c62f0d5b7651e0fb76bc8f21844b0c60f46.tar.gz
exchange-74c56c62f0d5b7651e0fb76bc8f21844b0c60f46.tar.bz2
exchange-74c56c62f0d5b7651e0fb76bc8f21844b0c60f46.zip
fix #7934
-rwxr-xr-xcontrib/taler-terms-generator.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/taler-terms-generator.in b/contrib/taler-terms-generator.in
index bbc4ccdcb..6b5466cfc 100755
--- a/contrib/taler-terms-generator.in
+++ b/contrib/taler-terms-generator.in
@@ -26,11 +26,11 @@ set -eu
# Call with target language as first argument.
function make_config()
{
- XPWD=$(echo "$PWD" | sed -e "s/\//\\\\\\//g")
+ XLOC=$(echo "$LOCALE_DIR" | sed -e "s/\//\\\\\\//g")
sed -e "s/%VERSION%/$VERSION/g" \
-e "s/%TITLE%/$TITLE/g" \
-e "s/%AUTHOR%/$AUTHOR/g" \
- -e "s/%LOCALE_DIR%/$XPWD/g" \
+ -e "s/%LOCALE_DIR%/$XLOC/g" \
-e "s/%COPYRIGHT%/$COPYRIGHT/g" \
-e "s/%LANGUAGE%/$1/g" \
> "${BUILDDIR}/conf.py" <<EOF