summaryrefslogtreecommitdiff
path: root/bin/taler-deployment-config-sign
blob: dcde148853f28de2f1e070279596895745b96edc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash

set -eu

base=$HOME

export PATH="$base/deployment":$PATH

for f in ~/shared-data/exchange/wire/*.unsigned.json; do
  outf="${f%.unsigned.json}.json"
  taler-exchange-wire -j "$(<"$f")" > "$outf"
  # make sure both *-blue and *-green can write to it,
  # even when e.g. umask is messed up
  chmod g+w "$outf"
done