summaryrefslogtreecommitdiff
path: root/taler-build/update_bank.sh
diff options
context:
space:
mode:
Diffstat (limited to 'taler-build/update_bank.sh')
-rwxr-xr-xtaler-build/update_bank.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/taler-build/update_bank.sh b/taler-build/update_bank.sh
index 69fef25..34a2de5 100755
--- a/taler-build/update_bank.sh
+++ b/taler-build/update_bank.sh
@@ -1,15 +1,17 @@
#!/bin/bash
-export PATH="$HOME/deployment":$PATH
+base=${TALER_DEPLOYMENT_BASE:-$HOME}
-cd $HOME/bank/ && \
+export PATH="$base/deployment":$PATH
+
+cd $base/bank/ && \
git pull && \
git submodule update --init && \
git clean -fxd && \
./bootstrap && \
- ./configure --prefix="$HOME/local" && \
+ ./configure --prefix="$base/local" && \
make && \
make install && \
- cd $HOME/deployment && \
+ cd $base/deployment && \
arm.sh -k taler-demobank
arm.sh -i taler-demobank