File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ use File::Basename;
69
69
use File::Temp qw( tempfile) ;
70
70
use Getopt::Long;
71
71
use Digest::MD5 qw( md5_base64) ;
72
- use Cwd qw/ abs_path/ ;
72
+ use Cwd qw/ abs_path cwd / ;
73
73
74
74
75
75
# Global constants
@@ -297,8 +297,7 @@ our $lcov_func_coverage = 1;
297
297
our $lcov_branch_coverage = 0;
298
298
our $rc_desc_html = 0; # lcovrc: genhtml_desc_html
299
299
300
- our $cwd = ` pwd` ; # Current working directory
301
- chomp ($cwd );
300
+ our $cwd = cwd(); # Current working directory
302
301
303
302
304
303
#
@@ -1511,7 +1510,7 @@ sub read_info_file($)
1511
1510
{
1512
1511
# Filename information found
1513
1512
# Retrieve data for new entry
1514
- $filename = File::Spec-> rel2abs($1 , Cwd:: cwd() );
1513
+ $filename = File::Spec-> rel2abs($1 , $ cwd );
1515
1514
1516
1515
if (!File::Spec-> file_name_is_absolute($1 ) &&
1517
1516
!$notified_about_relative_paths )
You can’t perform that action at this time.
0 commit comments