From f9e4c5885423c6f5b3d8b46c1c872b9e9330b054 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Mon, 31 Jan 2022 21:38:04 +0100 Subject: Added logging interface used by nDPId, nDPIsrvd and nDPId-test. * fixed GitLab pipeline * nDPId: added static assert (just for a test) * nDPId: memory profiling for total bytes compressed * nDPId-test: enable zLib compression if configured with ENABLE_ZLIB Signed-off-by: Toni Uhlig --- scripts/make-dist.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/make-dist.sh') diff --git a/scripts/make-dist.sh b/scripts/make-dist.sh index 974bfc5dd..67578e504 100755 --- a/scripts/make-dist.sh +++ b/scripts/make-dist.sh @@ -17,9 +17,9 @@ if [ ! -d ./.git ]; then fi git submodule update --init ./libnDPI -NDPID_GIT_VERSION="$(git describe --tags)" +NDPID_GIT_VERSION="$(git describe --tags || printf '%s' 'unknown')" cd ./libnDPI && \ - LIBNDPI_GIT_VERSION="$(git describe --tags)" && \ + LIBNDPI_GIT_VERSION="$(git describe --tags || printf '%s' 'unknown')" && \ printf '%s\n' "Creating $(realpath ./libnDPI-${LIBNDPI_GIT_VERSION}.tar)" && \ git archive --prefix="nDPId-${NDPID_GIT_VERSION}/libnDPI/" -o "../libnDPI-${LIBNDPI_GIT_VERSION}.tar" HEAD && \ cd .. -- cgit v1.2.3