[xiph-cvs] cvs commit: ogg autogen.sh

Ralph Giles giles at xiph.org
Sun Mar 14 09:31:57 PST 2004



giles       04/03/14 12:31:57

  Modified:    .        autogen.sh
  Log:
  Correct the fix for bug 483. It should be s/-1/-n 1/ not s/-1/-n -1/.

Revision  Changes    Path
1.13      +2 -2      ogg/autogen.sh

Index: autogen.sh
===================================================================
RCS file: /usr/local/cvsroot/ogg/autogen.sh,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- a/autogen.sh	8 Mar 2004 04:31:18 -0000	1.12
+++ b/autogen.sh	14 Mar 2004 17:31:57 -0000	1.13
@@ -40,7 +40,7 @@
     echo -n "checking for automake $AM_NEEDED or later... "
     for am in automake-$AM_NEEDED automake$AM_NEEDED automake; do
       ($am --version < /dev/null > /dev/null 2>&1) || continue
-      ver=`$am --version < /dev/null | head -n -1 | $VERSIONGREP | $VERSIONMKINT`
+      ver=`$am --version < /dev/null | head -n 1 | $VERSIONGREP | $VERSIONMKINT`
       verneeded=`echo $AM_NEEDED | $VERSIONMKINT`
       if test $ver -ge $verneeded; then
         AUTOMAKE=$am
@@ -52,7 +52,7 @@
     echo -n "checking for aclocal $AM_NEEDED or later... "
     for ac in aclocal-$AM_NEEDED aclocal$AM_NEEDED aclocal; do
       ($ac --version < /dev/null > /dev/null 2>&1) || continue
-      ver=`$ac --version < /dev/null | head -n -1 | $VERSIONGREP | $VERSIONMKINT`
+      ver=`$ac --version < /dev/null | head -n 1 | $VERSIONGREP | $VERSIONMKINT`
       verneeded=`echo $AM_NEEDED | $VERSIONMKINT`
       if test $ver -ge $verneeded; then
         ACLOCAL=$ac

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list