[xiph-commits] r18669 - trunk/ogg2

tterribe at svn.xiph.org tterribe at svn.xiph.org
Mon Oct 22 19:08:13 PDT 2012


Author: tterribe
Date: 2012-10-22 19:08:13 -0700 (Mon, 22 Oct 2012)
New Revision: 18669

Modified:
   trunk/ogg2/autogen.sh
Log:
A better VERSIONGREP pattern than the one in r18668.

This is just the pattern from libtheora's autogen.sh.
This is a better fallback for dumb shells (the previous one was
 failing under OpenBSD's /bin/sh).


Modified: trunk/ogg2/autogen.sh
===================================================================
--- trunk/ogg2/autogen.sh	2012-10-22 23:16:37 UTC (rev 18668)
+++ trunk/ogg2/autogen.sh	2012-10-23 02:08:13 UTC (rev 18669)
@@ -20,7 +20,7 @@
         DIE=1
 }
 
-VERSIONGREP="sed -e s/.*[^0-9\.]\([0-9]\.[0-9]\{1,\}\).*/\1/"
+VERSIONGREP="sed -e s/.*[^0-9\.]\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/"
 VERSIONMKINT="sed -e s/[^0-9]//"
                                                                                 
 # do we need automake?



More information about the commits mailing list