summaryrefslogtreecommitdiff
path: root/taler-build/update_exchange.sh
blob: aa8d617b3115742b614c5eaff42e063e7b0e1471 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

set -eu

cd $HOME/exchange
git clean -fdx

# like "git pull", but robust against force pushes
# and local changes
git fetch
git reset --hard FETCH_HEAD

./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