[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-deployment] 02/02: wrap wire-signer in a script
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-deployment] 02/02: wrap wire-signer in a script |
Date: |
Sat, 08 Jun 2019 19:43:54 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository deployment.
commit e08e058f8640e3dad7864cd7c5554be32d90c1a5
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sat Jun 8 19:43:35 2019 +0200
wrap wire-signer in a script
---
bin/taler-deployment-sign | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/bin/taler-deployment-sign b/bin/taler-deployment-sign
new file mode 100644
index 0000000..bab5419
--- /dev/null
+++ b/bin/taler-deployment-sign
@@ -0,0 +1,24 @@
+#!/usr/bin/env bash
+
+# Sign exchange wire response
+
+set -eu
+
+if test -z $TALER_CONFIG_ENV; then
+ echo Please run 'source $HOME/activate' first.
+ exit 1
+fi
+
+if ! test -f $HOME/.config/taler.conf; then
+ echo "Please generate config file first (taler-deployment-config-generate)"
+ exit 1
+fi
+
+if ! test -f $(taler-config -s paths -o taler_deployment_shared -f)/hier.lock;
then
+ echo "shared-data/ hier not made yet, please run
'taler-deployment-shared-data' first"
+ exit 1
+fi
+
+rm -f $WIRE_RESPONSE
+taler-exchange-sign
+chmod 070 $WIRE_RESPONSE
--
To stop receiving notification emails like this one, please contact
address@hidden.