You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Sander Roobol <ph...@wanadoo.nl> on 2003/05/13 11:22:23 UTC

Re: POSIX patches

Filed as issue #1305.

Sander

On Wed, Apr 23, 2003 at 09:14:47AM +0200, Olaf Hering wrote:
> coreutiles do not accept -1 anymore. consider applying.
> 
> 
> Index: build/buildcheck.sh
> ===================================================================
> --- build/buildcheck.sh (revision 5706)
> +++ build/buildcheck.sh (working copy)
> @@ -16,7 +16,7 @@
>  #--------------------------------------------------------------------------
>  # autoconf 2.50 or newer
>  #
> -ac_version=`${AUTOCONF:-autoconf} --version 2>/dev/null|head -1| sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'`
> +ac_version=`${AUTOCONF:-autoconf} --version 2>/dev/null|head -n 1| sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'`
>  if test -z "$ac_version"; then
>    echo "buildcheck: autoconf not found."
>    echo "            You need autoconf version 2.50 or newer installed."
> @@ -38,7 +38,7 @@
>  #--------------------------------------------------------------------------
>  # autoheader 2.50 or newer
>  #
> -ah_version=`${AUTOHEADER:-autoheader} --version 2>/dev/null|head -1| sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'`
> +ah_version=`${AUTOHEADER:-autoheader} --version 2>/dev/null|head -n 1| sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'`
>  if test -z "$ah_version"; then
>    echo "buildcheck: autoheader not found."
>    echo "            You need autoheader version 2.50 or newer installed."
> Index: dist.sh
> ===================================================================
> --- dist.sh     (revision 5706)
> +++ dist.sh     (working copy)
> @@ -51,7 +51,7 @@
>  
>  ### The "REV" part of ${DISTNAME}-rREV.tar.gz
>  if test -z "$1" || test "$1" = "HEAD"; then
> -  VERSION="`svn st -vu README | tail -1 | awk '{print $3}'`"
> +  VERSION="`svn st -vu README | awk 'END{print $3}'`"
>  else
>    VERSION="$1"
>  fi
> 
> -- 
> USB is for mice, FireWire is for men!
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: POSIX patches

Posted by Olaf Hering <ol...@suse.de>.
 On Tue, May 13, Sander Roobol wrote:

> Filed as issue #1305.
Use this version:

Index: build/buildcheck.sh
===================================================================
--- build/buildcheck.sh	(revision 5780)
+++ build/buildcheck.sh	(working copy)
@@ -16,7 +16,7 @@
 #--------------------------------------------------------------------------
 # autoconf 2.50 or newer
 #
-ac_version=`${AUTOCONF:-autoconf} --version 2>/dev/null|head -1| sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'`
+ac_version=`${AUTOCONF:-autoconf} --version 2>/dev/null|sed 's/^\([^0-9]* \)\([0-9.]*\)\(.*\)/\2/;q'`
 if test -z "$ac_version"; then
   echo "buildcheck: autoconf not found."
   echo "            You need autoconf version 2.50 or newer installed."
@@ -38,7 +38,7 @@
 #--------------------------------------------------------------------------
 # autoheader 2.50 or newer
 #
-ah_version=`${AUTOHEADER:-autoheader} --version 2>/dev/null|head -1| sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'`
+ah_version=`${AUTOHEADER:-autoheader} --version 2>/dev/null|sed 's/^\([^0-9]* \)\([0-9.]*\)\(.*\)/\2/;q'`
 if test -z "$ah_version"; then
   echo "buildcheck: autoheader not found."
   echo "            You need autoheader version 2.50 or newer installed."
Index: dist.sh
===================================================================
--- dist.sh	(revision 5780)
+++ dist.sh	(working copy)
@@ -51,7 +51,7 @@
 
 ### The "REV" part of ${DISTNAME}-rREV.tar.gz
 if test -z "$1" || test "$1" = "HEAD"; then
-  VERSION="`svn st -vu README | tail -1 | awk '{print $3}'`"
+  VERSION="`svn st -vu README | awk '{i=$3}END{print i}'`"
 else
   VERSION="$1"
 fi
-- 
USB is for mice, FireWire is for men!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org