summaryrefslogtreecommitdiff
path: root/taler-build/update_exchange.sh
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-04-24 21:41:21 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-04-24 21:41:21 +0200
commit36d949f1fc1769a07f84ea03fce8b03ca6af221c (patch)
tree325545174b8d58b9e418134db5e18d062c484322 /taler-build/update_exchange.sh
parent36942aa35087b6baa7fc2c4453206138525d0347 (diff)
downloaddeployment-36d949f1fc1769a07f84ea03fce8b03ca6af221c.tar.gz
deployment-36d949f1fc1769a07f84ea03fce8b03ca6af221c.tar.bz2
deployment-36d949f1fc1769a07f84ea03fce8b03ca6af221c.zip
deployment base dir
Diffstat (limited to 'taler-build/update_exchange.sh')
-rwxr-xr-xtaler-build/update_exchange.sh13
1 files changed, 8 insertions, 5 deletions
diff --git a/taler-build/update_exchange.sh b/taler-build/update_exchange.sh
index cd66b1e..01f03ba 100755
--- a/taler-build/update_exchange.sh
+++ b/taler-build/update_exchange.sh
@@ -1,27 +1,30 @@
#!/bin/bash
+base=${TALER_DEPLOYMENT_BASE:-$HOME}
+
export PATH="$HOME/deployment":$PATH
build_exchange() {
(
set -eu
+ base=${TALER_DEPLOYMENT_BASE:-$HOME}
cd $HOME/exchange
git clean -fdx
./bootstrap
./configure CFLAGS='-ggdb -O0' \
- --with-libgnurl=$HOME/local \
- --with-microhttpd=$HOME/local \
- --prefix=$HOME/local --with-gnunet=$HOME/local \
+ --with-libgnurl=$base/local \
+ --with-microhttpd=$base/local \
+ --prefix=$base/local --with-gnunet=$base/local \
--enable-logging=verbose
make
make install
)
}
-cd $HOME/exchange && \
+cd $base/exchange && \
git pull && \
- cd $HOME/deployment && \
+ cd $base/deployment && \
build_exchange && \
arm.sh -k taler-exchange
arm.sh -i taler-exchange