summaryrefslogtreecommitdiff
path: root/taler-build/update_exchange.sh
blob: 242fd6e1658f754281c54eba4fc7762458d60652 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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
make check