aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-23 07:08:59 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-23 07:08:59 +0000
commit02095ba0e1f75183ade9f91c2dd83a9b884ef190 (patch)
tree63e9fe406051e89b1daa2ddab14ab46860356696
parent32a678eab3ebe5b3e71b36d330e4f614cfecc37e (diff)
cd back to the root path before removing the build dir, since some systems
refuse to remove the dir otherwise!
-rwxr-xr-xtestcurl.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/testcurl.sh b/testcurl.sh
index be7109357..1c6418778 100755
--- a/testcurl.sh
+++ b/testcurl.sh
@@ -46,6 +46,7 @@ log() {
die(){
text=$1
log "$text"
+ cd $pwd # cd back to the original root dir
if test -n "$pwd/$build"; then
# we have a build directory name, remove the dir
@@ -131,6 +132,7 @@ buildlog="buildlog-$$"
# remove any previous left-overs
rm -rf build-*
+rm -rf buildlog-*
# create a dir to build in
mkdir $build