]> The Tcpdump Group git mirrors - tcpdump/blobdiff - build_matrix.sh
build.sh, build_matrix.sh: Use more the PREFIX variable
[tcpdump] / build_matrix.sh
index 1e610a9b50e328666cb7b369429e4892b0284e90..fc3b77078ece3ed446bed6f199ac6830240e22ad 100755 (executable)
@@ -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