aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/testcurl.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index bc2b9069b..0d9a1428e 100755
--- a/tests/testcurl.pl
+++ b/tests/testcurl.pl
@@ -299,7 +299,7 @@ if ($gnulikebuild) {
}
# change to build dir
-chdir "../$build";
+chdir "$pwd/$build";
if ($gnulikebuild) {
# run configure script
@@ -347,7 +347,7 @@ if (grepfile("define USE_ARES", $gnulikebuild ? "lib/config.h" : "lib/config-win
}
# cd back to the curl build dir
- chdir "..";
+ chdir "$pwd/$build";
}
logit "run make";