aboutsummaryrefslogtreecommitdiff
path: root/src/auditor/generate-auditor-basedb.sh
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2022-03-17 14:16:19 +0100
committerChristian Grothoff <grothoff@gnunet.org>2022-03-17 14:16:34 +0100
commit12809b28ec6fb7a9b5a846faa9c652f7c3fd63e1 (patch)
treee05399cfda8d2ae724120e7fb6c7686ea713f601 /src/auditor/generate-auditor-basedb.sh
parent63879d9d20986e66e847f1e19b16f5f2a60ee469 (diff)
downloadexchange-12809b28ec6fb7a9b5a846faa9c652f7c3fd63e1.tar.xz
-misc fixes
Diffstat (limited to 'src/auditor/generate-auditor-basedb.sh')
-rwxr-xr-xsrc/auditor/generate-auditor-basedb.sh6
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`