build.sh, build_matrix.sh: Use more the PREFIX variable

This commit is contained in:
Francois-Xavier Le Bail 2021-03-13 18:30:19 +01:00
parent 9389efe24b
commit fb8908c0ec
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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