diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-03-17 14:16:19 +0100 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-03-17 14:16:34 +0100 |
commit | 12809b28ec6fb7a9b5a846faa9c652f7c3fd63e1 (patch) | |
tree | e05399cfda8d2ae724120e7fb6c7686ea713f601 /src/auditor/generate-auditor-basedb.sh | |
parent | 63879d9d20986e66e847f1e19b16f5f2a60ee469 (diff) |
-misc fixes
Diffstat (limited to 'src/auditor/generate-auditor-basedb.sh')
-rwxr-xr-x | src/auditor/generate-auditor-basedb.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/auditor/generate-auditor-basedb.sh b/src/auditor/generate-auditor-basedb.sh index c12de169f..553ad39f9 100755 --- a/src/auditor/generate-auditor-basedb.sh +++ b/src/auditor/generate-auditor-basedb.sh @@ -41,7 +41,7 @@ BASEDB=${1:-"auditor-basedb"} # Name of the Postgres database we will use for the script. # Will be dropped, do NOT use anything that might be used # elsewhere -export TARGET_DB=${BASEDB} +export TARGET_DB=`basename ${BASEDB}` export WALLET_DB=${BASEDB:-"wallet"}.wdb @@ -52,7 +52,7 @@ rm -f $WALLET_DB # Configuration file will be edited, so we create one # from the template. CONF=${BASEDB}.conf -cp generate-auditor-basedb-template.conf $CONF +cp generate-auditor-basedb.conf $CONF echo -n "Testing for taler-bank-manage" @@ -66,7 +66,7 @@ curl --help >/dev/null </dev/null || exit_skip " MISSING" echo " FOUND" - +pwd # Clean up DATA_DIR=`taler-config -f -c $CONF -s PATHS -o TALER_HOME` |