summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorxrs <xrs@mail36.net>2020-01-16 17:12:09 +0100
committerxrs <xrs@mail36.net>2020-01-16 17:12:09 +0100
commit32b55237f2b94b4940d7031a0bc1adcf8b63824a (patch)
tree92766aa532ef2c674192dc3bd0e9b71a99829fa1 /contrib
parentec78709681261eaddedbed6484dd95849f180f92 (diff)
parent5177efb74f9301bbffd79d63f47eb78611e6abba (diff)
Merge branch 'master' of ssh://git.gnunet.org/gnunet
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/scripts/build-install-gnunet-debian10.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/contrib/scripts/build-install-gnunet-debian10.sh b/contrib/scripts/build-install-gnunet-debian10.sh
index 863ed5e2d..8ac7ce8bb 100755
--- a/contrib/scripts/build-install-gnunet-debian10.sh
+++ b/contrib/scripts/build-install-gnunet-debian10.sh
@@ -2,13 +2,15 @@
set -exo
set -u pipefail
-if test -z "$USER" = "root"; then
+if [ "$USER" = "root" ]; then
export SUDO_CMD=""
else
SUDO_CMD="sudo"
fi
-$SUDO_CMD apt update && $SUDO_CMD apt install -y git libtool autoconf \
+$SUDO_CMD apt update
+
+$SUDO_CMD apt install -y git libtool autoconf \
autopoint libmicrohttpd-dev build-essential libgcrypt-dev \
libidn11-dev zlib1g-dev libunistring-dev libglpk-dev miniupnpc \
libextractor-dev libjansson-dev libcurl4-gnutls-dev gnutls-bin \
@@ -24,7 +26,7 @@ cd ~/gnunet_installation/gnunet
./bootstrap
-export GNUNET_PREFIX=/usr/local
+export GNUNET_PREFIX=/usr
export CFLAGS="-g -Wall -O0"
./configure --prefix=$GNUNET_PREFIX --enable-logging=verbose --disable-documentation