commit 93acb96955315e1e86f7b7ca8be429d5b0b9face
parent b46fd3cbf7f03f26c3248b5473cbb07809bf2ea3
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Fri, 8 Jun 2018 13:08:28 +0200
Commenting deployment scripts.
Diffstat:
3 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/bin/taler-deployment-config-generate b/bin/taler-deployment-config-generate
@@ -1,8 +1,11 @@
#!/bin/bash
-# (Re-)generate the taler configuration based on environment variables.
-# These variables are usually defined in ~/activate.
+# Generate the taler configuration based on environment variables.
+# These variables are usually defined in $HOME/activate.
# Some configuration files still need to be signed with taler-deployment-config-sign.
+# It overwrites previous config files.
+#
+#
set -eu
@@ -35,7 +38,7 @@ exchange_pub=$(gnunet-ecc -p $HOME/shared-data/exchange/offline-keys/master.priv
$HOME/deployment/config/generate-config \
--exchange-pub "$exchange_pub" \
--currency "$TALER_CONFIG_CURRENCY" \
- --outdir ~/.config \
- --shared-outdir ~/shared-data \
+ --outdir $HOME/.config \
+ --shared-outdir $HOME/shared-data \
--envname "$TALER_CONFIG_ENV" \
--standalone "${TALER_CONFIG_STANDALONE:-0}"
diff --git a/bin/taler-deployment-config-sign b/bin/taler-deployment-config-sign
@@ -1,5 +1,12 @@
#!/usr/bin/env bash
+# Get the exchange wire details signed.
+# Running this command again will produce different
+# signatures, as it generates a salt upon each invocation.
+#
+#
+
+
set -eu
base=$HOME
export PATH="$base/deployment":$PATH
diff --git a/bin/taler-deployment-keyup b/bin/taler-deployment-keyup
@@ -1,5 +1,11 @@
#!/usr/bin/env bash
+# Generate denomination keys and get them
+# signed by the auditor.
+#
+#
+#
+
set -eu
if test -z $TALER_CONFIG_ENV; then