From bbafc27b42483c268c59eda164c43f20b2305ad6 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 15 Dec 2003 08:14:30 +0000 Subject: remove the build directory on exist, if there is any --- testcurl.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'testcurl.sh') 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 } -- cgit v1.2.3