blob: e35241a1d4fc3b5dd96b165b1ff0072c2e28c944 (
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 || true
taler-exchange-wire
chmod g+rx $WIRE_RESPONSE
chgrp test $WIRE_RESPONSE
|