From 986185fe2abb331aa6a253130ceebb7978fdfbe1 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Tue, 23 May 2017 11:08:48 +0200 Subject: fix minor things on keys generating script --- bin/taler-deployment-keyup | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'bin/taler-deployment-keyup') diff --git a/bin/taler-deployment-keyup b/bin/taler-deployment-keyup index e6c8fcb..4eb2b89 100755 --- a/bin/taler-deployment-keyup +++ b/bin/taler-deployment-keyup @@ -2,15 +2,16 @@ set -eu -auditor_request=${HOME}/shared-data/exchange/auditor-request/auditor_request +auditor_request_dir=${HOME}/shared-data/exchange/auditor-request/ +mkdir -p $auditor_request_dir taler-exchange-keyup \ - -m ~/shared-data/exchange/offline-keys/master.priv \ - -o $auditor_request + -m ${HOME}/shared-data/exchange/offline-keys/master.priv \ + -o $auditor_request_dir/auditor_request auditor_base_dir=$(taler-config -s exchangedb -o auditor_base_dir -f) exchange_master_pub=$(taler-config -s exchange -o master_public_key) auditor_sig_output_file=$(date "+%s%N") -taler-auditor-sign -u https://auditor.taler.net/ -m $exchange_master_pub -r $auditor_request -o "$auditor_base_dir/$auditor_sig_output_file" +taler-auditor-sign -u https://auditor.taler.net/ -m $exchange_master_pub -r $auditor_request_dir/auditor_request -o "$auditor_base_dir/$auditor_sig_output_file" if [[ 0 != $? ]]; then echo Auditor signing not accomplished. fi -- cgit v1.2.3