diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-12-15 08:14:30 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-12-15 08:14:30 +0000 |
commit | bbafc27b42483c268c59eda164c43f20b2305ad6 (patch) | |
tree | 709208d34f8b515bb4d6121d25973b6b72860e23 | |
parent | a7de09a966fb128a304e8aca3eaf3b7ba9631759 (diff) |
remove the build directory on exist, if there is any
-rwxr-xr-x | testcurl.sh | 4 |
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 } |