commit 74c56c62f0d5b7651e0fb76bc8f21844b0c60f46
parent 369e65d766e0de81f529acce8a630daa58cd4138
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 29 Sep 2023 13:30:28 +0200
fix #7934
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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