[mythtv-commits] mythtv/master commit: 124d820e6 by Michael T. Dean (sphery)

MythTV noreply at mythtv.org
Thu Dec 29 03:37:45 UTC 2011


      Author:  Michael T. Dean <mdean at mythtv.org>
 Change Date:  2011-12-28T19:36:45-08:00
   Push Date:  2011/12/28 19:37:39 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  124d820e63f65fe9e32d0d9dc4d6c5cd8df52220
   Changeset:  https://github.com/MythTV/mythtv/commit/124d820e6

Log:

Fix expr regexp portability in configure gxx_version check.

Remove a redundant '^' from expr regexp in configure.

Per expr documentation, an anchored pattern match takes 2 arguments such
that, "The arguments are converted to strings and the second is
considered to be a (basic, a la GNU 'grep') regular expression, with a
'^' implicitly prepended."

See:  info --file coreutils.info --node 'String expressions'

Though the redundant '^' does not cause, at least, GNU expr to fail,
including it may be a problem on some expr implementations and causes
some versions of expr to complain:

expr: warning: unportable BRE: `^4\\.[3-9]': using `^' as the first
character

on stderr.

Modified:

   mythtv/configure



More information about the mythtv-commits mailing list