commit 21230ee746674ef88fb30d9a23bd5d414fc9e04a parent 3c1e1e0f0ea147ffc67e59b1de1ae6a2c9760031 Author: Marcello Stanisci <stanisci.m@gmail.com> Date: Mon, 20 Nov 2017 17:01:34 +0100 survey deployment Diffstat:
| A | taler-build/update_merchant_survey.sh | | | 17 | +++++++++++++++++ |
1 file changed, 17 insertions(+), 0 deletions(-)
diff --git a/taler-build/update_merchant_survey.sh b/taler-build/update_merchant_survey.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +set -eu + +cd $HOME/survey/ +git clean -fxd + +git fetch +# reset to updated upstream branch, but only if we're tracking a branch +branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || echo HEAD) +git reset --hard "$branch" + +git submodule update --init --force + +./bootstrap +./configure --prefix="$HOME/local" +make install check