summaryrefslogtreecommitdiff
path: root/taler-build/update_gnunet.sh
diff options
context:
space:
mode:
Diffstat (limited to 'taler-build/update_gnunet.sh')
-rwxr-xr-xtaler-build/update_gnunet.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/taler-build/update_gnunet.sh b/taler-build/update_gnunet.sh
index c1a013e..04ebb57 100755
--- a/taler-build/update_gnunet.sh
+++ b/taler-build/update_gnunet.sh
@@ -3,8 +3,13 @@
set -eu
cd $HOME/gnunet/
-svn revert -R .
-svn update
+git clean -fdx
+
+# like "git pull", but robust against force pushes
+# and local changes
+git fetch
+git reset --hard FETCH_HEAD
+
./bootstrap
./configure --prefix=$HOME/local --enable-logging=verbose --with-libgnurl=$HOME/local --with-microhttpd=$HOME/local
make