summaryrefslogtreecommitdiff
path: root/buildbot/sign.sh
blob: cf1cd51e1aa56dbd79713be71ca66802c968fb32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

if test "$(whoami)" = "$(cat /home/test/active)"; then
  echo "I am the active color, will not obey to BB"
  exit 0
fi

source "${HOME}/activate"
WIRE_RESPONSE=$(taler-config -s account-1 -o wire_response -f)

rm -f $WIRE_RESPONSE

taler-exchange-wire

chgrp test $WIRE_RESPONSE
chmod 070 $WIRE_RESPONSE