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