summaryrefslogtreecommitdiff
path: root/taler-build/update_libmicrohttpd.sh
blob: 316850747c90b9dc476e17c5c4e05e99a9a9e052 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

cd $HOME/libmicrohttpd/
git clean -fdx

git fetch --all
# reset to updated upstream branch, but only if we're tracking a branch
branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || echo HEAD)
git reset --hard "$branch"

./bootstrap
./configure --prefix=$HOME/local \
            --with-gnutls=/usr/local # Debian packages are too old.
make
make install