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.
This commit is contained in:
Daniel Stenberg 2003-02-17 09:15:26 +00:00
parent de003d9cf8
commit 44b9ccb7e2

View File

@ -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