#!/bin/bash base=${TALER_DEPLOYMENT_BASE:-$HOME} export PATH="$base/deployment":$PATH build_exchange() { ( set -eu base=${TALER_DEPLOYMENT_BASE:-$HOME} cd $base/exchange git clean -fdx ./bootstrap ./configure CFLAGS='-ggdb -O0' \ --with-libgnurl=$base/local \ --with-microhttpd=$base/local \ --prefix=$base/local --with-gnunet=$base/local \ --enable-logging=verbose make make install ) } cd $base/exchange && \ git pull && \ cd $base/deployment && \ build_exchange