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