diff options
author | Denis Ovsienko <denis@ovsienko.info> | 2021-08-17 17:20:32 +0100 |
---|---|---|
committer | Denis Ovsienko <denis@ovsienko.info> | 2021-08-17 17:20:32 +0100 |
commit | ed0175cddadfac745e0a778937a941261fc53107 (patch) | |
tree | 899cf6b2fff3fa0180a94ca91c47c07d82b5d7ed /build_matrix.sh | |
parent | 4f1a63c4c3b109d14b4df003baa85cbc373c82f6 (diff) | |
download | tcpdump-ed0175cddadfac745e0a778937a941261fc53107.tar.gz |
CI: Clean in ../libpcap only if present. [skip ci]
./build_matrix.sh[89]: cd: /export/home/denis/libpcap: [No such file or
directory]
Diffstat (limited to 'build_matrix.sh')
-rwxr-xr-x | build_matrix.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build_matrix.sh b/build_matrix.sh index c5f699a0..b16e03e5 100755 --- a/build_matrix.sh +++ b/build_matrix.sh @@ -86,7 +86,9 @@ for CC in $MATRIX_CC; do else echo_magenta 'Use system libpcap' >&2 purge_directory "$PREFIX" - (cd ../libpcap; make distclean || echo '(Ignoring the make error.)') + if [ -d ../libpcap ]; then + (cd ../libpcap; make distclean || echo '(Ignoring the make error.)') + fi build_tcpdump fi done |