This script clearly misses to remove the build dir at times when it exits,
authorDaniel Stenberg <daniel@haxx.se>
Mon, 17 Feb 2003 09:15:26 +0000 (09:15 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 17 Feb 2003 09:15:26 +0000 (09:15 +0000)
so we now remove everything matching "build-*" when the script starts.

testcurl.sh

index 78b78882d5363a16f8bc715ad59088d705fc05f1..6ec132f176dcdc075d0aac7844918af9468220c8 100755 (executable)
@@ -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