Skip to content

Commit 231cfb6

Browse files
committed
Merge pull request #7 from ggouaillardet/topic/fix_find_cli
Fix find command line
2 parents 533db4e + 997f32a commit 231cfb6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/geninfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ sub gen_info($)
710710
{
711711
info("Scanning $directory for $ext files ...\n");
712712

713-
@file_list = `find "$directory" $maxdepth $follow -name \\*$ext -type f -o -type l 2>/dev/null`;
713+
@file_list = `find "$directory" $maxdepth $follow -name \\*$ext -type f -o -name \\*$ext -type l 2>/dev/null`;
714714
chomp(@file_list);
715715
if (!@file_list) {
716716
warn("WARNING: no $ext files found in $directory - ".

bin/lcov

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ sub userspace_reset()
599599
{
600600
info("Deleting all .da files in $current_dir".
601601
($no_recursion?"\n":" and subdirectories\n"));
602-
@file_list = `find "$current_dir" $maxdepth $follow -name \\*\\.da -o -name \\*\\.gcda -type f 2>/dev/null`;
602+
@file_list = `find "$current_dir" $maxdepth $follow -name \\*\\.da -type f -o -name \\*\\.gcda -type f 2>/dev/null`;
603603
chomp(@file_list);
604604
foreach (@file_list)
605605
{

0 commit comments

Comments
 (0)