diff --git a/setup_build_server.sh b/setup_build_server.sh index d79325b..1c48f5e 100755 --- a/setup_build_server.sh +++ b/setup_build_server.sh @@ -88,7 +88,7 @@ patch_ndpi_pack_on_if_needed() { if ! ldconfig -p | grep -q "libndpi"; then echo "==> Build and install nDPI library" rm -rf "$NDPIDIR" - git clone --depth 1 https://github.com/ntop/nDPI.git "$NDPIDIR" + git clone --depth 1 --branch dev https://github.com/ntop/nDPI.git "$NDPIDIR" cd "$NDPIDIR" ./autogen.sh ./configure @@ -100,7 +100,7 @@ else # Keep python bindings source in sync with official instructions. if [ ! -d "$NDPIDIR/python" ]; then rm -rf "$NDPIDIR" - git clone --depth 1 https://github.com/ntop/nDPI.git "$NDPIDIR" + git clone --depth 1 --branch dev https://github.com/ntop/nDPI.git "$NDPIDIR" fi fi