From: Simon Ruderich Date: Thu, 22 Mar 2012 13:44:12 +0000 (+0100) Subject: Ignore compiler when used as file suffixes. X-Git-Tag: 0.01~74 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=5072df676d796709e34af7dd8d6797dec1d946b2;p=blhc%2Fblhc.git Ignore compiler when used as file suffixes. For example "rm test.gcc" isn't a compiler line. --- diff --git a/bin/blhc b/bin/blhc index 666c2af..9aa0133 100755 --- a/bin/blhc +++ b/bin/blhc @@ -32,7 +32,7 @@ our $VERSION = '0.01'; # Regex to catch compiler commands. my $cc_regex = qr/(?:[a-z0-9_]+-(?:linux-|kfreebsd-)?gnu(?:eabi|eabihf)?-)? - (?:(?