summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 81540eee..a24c8db7 100755
--- a/build.sh
+++ b/build.sh
@@ -54,7 +54,8 @@ if [ "$CMAKE" = no ]; then
--enable-smb="$SMB" --prefix="$PREFIX" --disable-local-libpcap
fi
else
- run_after_echo rm -rf build
+ # See libpcap build.sh for the rationale.
+ run_after_echo rm -rf CMakeFiles/ CMakeCache.txt build/
run_after_echo mkdir build
run_after_echo cd build
if [ "$BUILD_LIBPCAP" = yes ]; then