Commit 44b9ccb7 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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.
parent de003d9c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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