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

Warren Dukes shank at xiph.org
Tue Mar 9 07:19:26 PST 2004



shank       04/03/09 10:19:26

  Modified:    .        autogen.sh
  Log:
  my copy of head (from gentoo) says that "head -1" is obsolte,
  so use "head -n 1"

Revision  Changes    Path
1.9       +2 -2      ao/autogen.sh

Index: autogen.sh
===================================================================
RCS file: /usr/local/cvsroot/ao/autogen.sh,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- autogen.sh	10 Nov 2003 16:47:00 -0000	1.8
+++ autogen.sh	9 Mar 2004 15:19:26 -0000	1.9
@@ -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 -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 -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