]> The Tcpdump Group git mirrors - tcpdump/commitdiff
CI: Introduce TEST_RELEASETAR. [skip ci]
authorDenis Ovsienko <[email protected]>
Sat, 25 Feb 2023 17:52:18 +0000 (17:52 +0000)
committerDenis Ovsienko <[email protected]>
Sat, 25 Feb 2023 17:52:18 +0000 (17:52 +0000)
Same as in tcpslice and libpcap.

build.sh

index a900115f50cc7b186d7f717283a06d329abc85b8..245ab80758c0a194fa3a20a318923993297427f4 100755 (executable)
--- 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 \