#!/bin/bash set -eu cd $HOME/merchant/ git clean -fdx # like "git pull", but robust against force pushes # and local changes git fetch git reset --hard FETCH_HEAD git submodule update --init ./bootstrap ./configure CFLAGS='-ggdb -O0' \ --prefix=$HOME/local --with-gnunet=$HOME/local \ --with-mint=$HOME/local \ --with-microhttpd=$HOME/local \ --enable-logging=verbose make make install TALER_MERCHANTDB_POSTGRES_CONFIG=$TALER_CHECKDB make check