diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-06-08 15:57:13 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-06-08 16:18:54 +0200 |
commit | 7daeee141d235b53b4b3c1b825acaf06a0cf19c9 (patch) | |
tree | 412df5e6f48aa281ed78f79ee43da911598f81af /scripts/get-and-build-libndpi.sh | |
parent | a41ddafa88de870aadad4acdf0193ac3a326c403 (diff) |
`make dist`
* fixed run_tests.sh file check bug, CI compat
* updated results due to libnDPI submodule update
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'scripts/get-and-build-libndpi.sh')
-rwxr-xr-x | scripts/get-and-build-libndpi.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/get-and-build-libndpi.sh b/scripts/get-and-build-libndpi.sh index df0ab2b2c..945dcf7b3 100755 --- a/scripts/get-and-build-libndpi.sh +++ b/scripts/get-and-build-libndpi.sh @@ -1,7 +1,6 @@ #!/usr/bin/env bash set -e -set -x LOCKFILE="$(realpath "${0}").lock" touch "${LOCKFILE}" @@ -11,8 +10,12 @@ flock -x -n 42 || { exit 1; } +set -x + cd "$(dirname "${0}")/.." -git submodule update --init ./libnDPI +if [ -d ./.git ]; then + git submodule update --init ./libnDPI +fi cd ./libnDPI DEST_INSTALL="${DEST_INSTALL:-$(realpath ./install)}" |