diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-23 07:08:59 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-23 07:08:59 +0000 |
commit | 02095ba0e1f75183ade9f91c2dd83a9b884ef190 (patch) | |
tree | 63e9fe406051e89b1daa2ddab14ab46860356696 | |
parent | 32a678eab3ebe5b3e71b36d330e4f614cfecc37e (diff) |
cd back to the root path before removing the build dir, since some systems
refuse to remove the dir otherwise!
-rwxr-xr-x | testcurl.sh | 2 |
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 |