diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2007-12-20 21:21:43 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2007-12-20 21:21:43 +0000 |
commit | d639ed1aafe33905b800dbf0c858630352576a01 (patch) | |
tree | 844c8b38fa4744b922f9af5d88df5cb955c5f009 | |
parent | c3a02f54074c59ec043bc9c6fd31785d61e6d426 (diff) |
Use getcwd() to get the directory, which works even if one of the
directory components doesn't have read permission set.
-rwxr-xr-x | tests/testcurl.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl index b7828d32a..e726478e1 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -294,7 +294,7 @@ $str1066os = undef; # Make $pwd to become the path without newline. We'll use that in order to cut # off that path from all possible logs and error messages etc. -$pwd = cwd(); +$pwd = getcwd(); if (-d $CURLDIR) { if ($CVS && -d "$CURLDIR/CVS") { |