From: Daniel Stenberg Date: Mon, 15 Dec 2003 08:14:30 +0000 (+0000) Subject: remove the build directory on exist, if there is any X-Git-Tag: curl-7_11_0~135 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bbafc27b42483c268c59eda164c43f20b2305ad6;p=curl remove the build directory on exist, if there is any --- diff --git a/testcurl.sh b/testcurl.sh index 0f872b27f..8fe9a6df2 100755 --- a/testcurl.sh +++ b/testcurl.sh @@ -38,6 +38,10 @@ export LANG die(){ echo "testcurl: ENDING HERE" + if test -n "$build"; then + # we have a build directory name, remove the dir + rm -rf $build + fi exit 1 }