From 5072df676d796709e34af7dd8d6797dec1d946b2 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 22 Mar 2012 14:44:12 +0100 Subject: [PATCH] Ignore compiler when used as file suffixes. For example "rm test.gcc" isn't a compiler line. --- bin/blhc | 2 +- t/logs/c++ | 4 ++++ t/logs/cc | 2 ++ t/logs/g++ | 2 ++ t/logs/gcc | 2 ++ t/tests.t | 3 +++ 6 files changed, 14 insertions(+), 1 deletion(-) 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)?-)? - (?:(?