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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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") {