From: Simon Ruderich Date: Mon, 26 Mar 2012 01:37:38 +0000 (+0200) Subject: Use simpler regex to catch compiler commands. X-Git-Tag: 0.01~54 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=76345db813476d45ab2cd8cce0c728314a24bfa9;p=blhc%2Fblhc.git Use simpler regex to catch compiler commands. --- diff --git a/bin/blhc b/bin/blhc index a188c89..7b228ec 100755 --- a/bin/blhc +++ b/bin/blhc @@ -31,9 +31,16 @@ our $VERSION = '0.01'; # CONSTANTS/VARIABLES # Regex to catch compiler commands. -my $cc_regex = qr/(?:[a-z0-9_]+-(?:linux-|kfreebsd-)?gnu(?:eabi|eabihf)?-)? - (?