Skip to content
Snippets Groups Projects
Commit d639ed1a authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Use getcwd() to get the directory, which works even if one of the

directory components doesn't have read permission set.
parent c3a02f54
No related branches found
No related tags found
No related merge requests found
......@@ -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") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment