From 02095ba0e1f75183ade9f91c2dd83a9b884ef190 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 23 Feb 2004 07:08:59 +0000 Subject: cd back to the root path before removing the build dir, since some systems refuse to remove the dir otherwise! --- testcurl.sh | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3