diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-03-24 10:52:21 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-03-24 10:52:21 +0000 |
commit | 41cd36b8306a7684898102acf8cf6d2233ed6a82 (patch) | |
tree | 3c117e72e79b676ac556319ec8f1657214703955 | |
parent | 242be5577142d181d2c90b727281a32d36f7b72b (diff) |
Avoid doing chdir .., as it breaks the ability to use symlinks properly.
chdir to absolute directory names instead. (this flaw exists in the shell
version too)
-rwxr-xr-x | tests/testcurl.pl | 4 |
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"; |