From 44b9ccb7e25250419d99ec5be8f3821419042102 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Mon, 17 Feb 2003 09:15:26 +0000
Subject: [PATCH] This script clearly misses to remove the build dir at times
 when it exits, so we now remove everything matching "build-*" when the script
 starts.

---
 testcurl.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testcurl.sh b/testcurl.sh
index 78b78882d5..6ec132f176 100755
--- a/testcurl.sh
+++ b/testcurl.sh
@@ -11,7 +11,7 @@
 # curl site, at http://curl.haxx.se/auto/
 
 # USAGE:
-# testcurl.sh [configure options] > output
+# testcurl.sh > output
 
 # version of this script
 version=1
@@ -90,7 +90,7 @@ fi
 build="build-$$"
 
 # remove any previous left-overs
-rm -rf $build
+rm -rf build-*
 
 # create a dir to build in
 mkdir $build
-- 
GitLab