aboutsummaryrefslogtreecommitdiff
path: root/testcurl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testcurl.sh')
-rwxr-xr-xtestcurl.sh4
1 files changed, 4 insertions, 0 deletions
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
}