diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2022-01-31 21:38:04 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2022-02-03 03:48:37 +0100 |
commit | f9e4c5885423c6f5b3d8b46c1c872b9e9330b054 (patch) | |
tree | fe389e98a15e9e5c7751a106905037df419107c5 /scripts/make-dist.sh | |
parent | 1a0d7ddbfaccc20e081a2fcd0a27495c166e1dbe (diff) |
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 <matzeton@googlemail.com>
Diffstat (limited to 'scripts/make-dist.sh')
-rwxr-xr-x | scripts/make-dist.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 .. |