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
@ -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…
x
Reference in New Issue
Block a user