From: Denis Ovsienko Date: Sat, 25 Feb 2023 17:52:18 +0000 (+0000) Subject: CI: Introduce TEST_RELEASETAR. [skip ci] X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/00fd858c850bcd011932f911b8cb43ffaa51dd51 CI: Introduce TEST_RELEASETAR. [skip ci] Same as in tcpslice and libpcap. --- diff --git a/build.sh b/build.sh index a900115f..245ab807 100755 --- a/build.sh +++ b/build.sh @@ -12,6 +12,9 @@ : "${TCPDUMP_TAINTED:=no}" : "${TCPDUMP_CMAKE_TAINTED:=no}" : "${MAKE_BIN:=make}" +# At least one OS (AIX 7) where this software can build does not have at least +# one command (mktemp) required for a successful run of "make releasetar". +: "${TEST_RELEASETAR:=yes}" . ./build_common.sh # Install directory prefix @@ -111,7 +114,7 @@ if [ "$BUILD_LIBPCAP" = yes ]; then run_after_echo "$MAKE_BIN" check fi if [ "$CMAKE" = no ]; then - run_after_echo "$MAKE_BIN" releasetar + [ "$TEST_RELEASETAR" = yes ] && run_after_echo "$MAKE_BIN" releasetar fi if [ "$CIRRUS_CI" = true ]; then run_after_echo sudo \