diff options
Diffstat (limited to 'extComments/extComments.pl')
-rwxr-xr-x | extComments/extComments.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extComments/extComments.pl b/extComments/extComments.pl index 91f4ed9..a270b5a 100755 --- a/extComments/extComments.pl +++ b/extComments/extComments.pl @@ -88,7 +88,7 @@ sub Determine_Comments_Extractor # return "$path/hashComments.pl -p ';' '$f'";; } elsif ($ext =~ /^(java|c|cpp|h|cxx|c\+\+|cc)$/ ) { my $comm = `which comments`; - if ($comm eq "") { + if ($comm ne "") { return "comments -c1 '$f' 2> /dev/null"; } else { return "cat '$f' | head -400 > '${f}.comments'"; |