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/?p=blhc%2Fblhc.git;a=commitdiff_plain;h=76345db813476d45ab2cd8cce0c728314a24bfa9;hp=573f74bd5133b4ef514c977814955942a91a3614 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)?-)? - (?