[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

POSIX patches

From: Olaf Hering <olh_at_suse.de>
Date: 2003-04-23 09:14:47 CEST

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
Received on Wed Apr 23 09:15:36 2003

This is an archived mail posted to the Subversion Dev mailing list.