mirror of
https://github.com/curl/curl.git
synced 2026-08-03 07:00:30 +03:00
Use getcwd() to get the directory, which works even if one of the
directory components doesn't have read permission set.
This commit is contained in:
parent
c3a02f5407
commit
d639ed1aaf
1 changed files with 1 additions and 1 deletions
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue