mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-23 10:04:05 +08:00
build.sh, build_matrix.sh: Use more the PREFIX variable
This commit is contained in:
parent
9389efe24b
commit
fb8908c0ec
2
build.sh
2
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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user