X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=bin%2Fblhc;h=bfd4be861d15c8571833e2b43c7e8aa2910bf1be;hb=0c04e1006d384e806204b31b15dd5e6d6a31497a;hp=7b196a0ccf93a6d6ea521e5f7650847021852c00;hpb=5ba101e4f167d461647d9481f83528d5151bafac;p=blhc%2Fblhc.git diff --git a/bin/blhc b/bin/blhc index 7b196a0..bfd4be8 100755 --- a/bin/blhc +++ b/bin/blhc @@ -317,7 +317,7 @@ sub is_non_verbose_build { if (defined $file) { # Get filename, we can't use the complete path as only parts of it are # used in the real compiler command. - $file =~ m{/([a-zA-Z0-9._-]+)$}; + $file =~ m{/([^/\s]+)$}; $file = $1; if ($next_line =~ /\Q$file\E/ and $next_line =~ /$cc_regex/o) {