gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: fix path warnings as suggested


From: Admin
Subject: [taler-deployment] branch master updated: fix path warnings as suggested by Calvin on the mailinglist
Date: Sun, 01 Jun 2025 17:12:10 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository taler-deployment.

The following commit(s) were added to refs/heads/master by this push:
     new d217f0b  fix path warnings as suggested by Calvin on the mailinglist
d217f0b is described below

commit d217f0b8b47c16861100258cec65f4d01b961eb5
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Jun 1 17:12:06 2025 +0200

    fix path warnings as suggested by Calvin on the mailinglist
---
 regional-currency/setup-libeufin.sh | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/regional-currency/setup-libeufin.sh 
b/regional-currency/setup-libeufin.sh
index d9e7610..c2a165a 100755
--- a/regional-currency/setup-libeufin.sh
+++ b/regional-currency/setup-libeufin.sh
@@ -44,7 +44,7 @@ PWD_AUTH_COMPAT = yes
 EOF
 
 if test ${DO_CONVERSION} == y; then
-  cat >>/etc/libeufin/libeufin-bank.conf <<EOF 
+  cat >>/etc/libeufin/libeufin-bank.conf <<EOF
 ALLOW_CONVERSION=yes
 FIAT_CURRENCY=${FIAT_CURRENCY}
 ALLOW_EDIT_CASHOUT_PAYTO_URI=yes
@@ -52,7 +52,7 @@ EOF
 fi
 
 if test ${DO_TEST} == y; then
- cat >>/etc/libeufin/libeufin-bank.conf <<EOF 
+ cat >>/etc/libeufin/libeufin-bank.conf <<EOF
 ALLOW_REGISTRATION = yes
 ALLOW_ACCOUNT_DELETION = yes
 ALLOW_EDIT_NAME = yes
@@ -61,7 +61,7 @@ EOF
 fi
 
 if test -n "${TELESIGN_AUTH_TOKEN:-}"; then
-  cat >>/etc/libeufin/libeufin-bank.conf <<EOF 
+  cat >>/etc/libeufin/libeufin-bank.conf <<EOF
 TAN_SMS=libeufin-tan-sms.sh
 TAN_SMS_ENV={"AUTH_TOKEN":"$TELESIGN_AUTH_TOKEN"}
 EOF
@@ -69,20 +69,20 @@ fi
 
 say "Setting up libeufin database..."
 
-libeufin-dbconfig &>> setup.log
+( p=$PWD; cd /; libeufin-dbconfig &>> $p/setup.log; )
 
 say "Setting up libeufin-bank..."
 
 
 say "Setting up libeufin-bank admin account..."
-sudo -u libeufin-bank \
-  libeufin-bank passwd \
-  admin "${BANK_ADMIN_PASSWORD}" &>> setup.log
+( p=$PWD; cd /; sudo -u libeufin-bank \
+     libeufin-bank passwd \
+     admin "${BANK_ADMIN_PASSWORD}" &>> $p/setup.log; )
 
 say "Setting up admin's debt limit..."
-sudo -u libeufin-bank \
-  libeufin-bank edit-account \
-  admin --debit_threshold=${CURRENCY}:200000000 &>> setup.log
+( p=$PWD; cd /; sudo -u libeufin-bank \
+    libeufin-bank edit-account \
+    admin --debit_threshold=${CURRENCY}:200000000 &>> $p/setup.log; )
 
 say "Setting up SPA configuration..."
 echo "settings = { bankName: \"${BANK_NAME}\" }" >/etc/libeufin/settings.js

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]