From fb8908c0ec90c025ea44fd298e9de2c96a7d859b Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Sat, 13 Mar 2021 18:30:19 +0100 Subject: [PATCH] build.sh, build_matrix.sh: Use more the PREFIX variable --- build.sh | 2 +- build_matrix.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 083559aa..c237fe83 100755 --- a/build.sh +++ b/build.sh @@ -21,7 +21,7 @@ SMB=${SMB:-no} # Install directory prefix PREFIX=/tmp/local # For TESTrun -export TCPDUMP_BIN=/tmp/local/bin/tcpdump +export TCPDUMP_BIN=$PREFIX/bin/tcpdump travis_fold() { local action="$1" diff --git a/build_matrix.sh b/build_matrix.sh index 1e610a9b..fc3b7707 100755 --- a/build_matrix.sh +++ b/build_matrix.sh @@ -70,7 +70,7 @@ build_tcpdump() { choose_libpcap() { if [ "$BUILD_LIBPCAP" = no ]; then echo_magenta 'Use system libpcap' - rm -rf /tmp/local + rm -rf $PREFIX else # Build libpcap with autoconf CMAKE_SAVE=$CMAKE