svn commit: samba r24313 - in branches/SAMBA_4_0/source: .

vlendec at samba.org vlendec at samba.org
Fri Aug 10 11:53:53 GMT 2007


Author: vlendec
Date: 2007-08-10 11:53:52 +0000 (Fri, 10 Aug 2007)
New Revision: 24313

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24313

Log:
Merge r23377 from 3_2

Patch from Bjoern Jacke <bjoern at j3e.de> to deal
with non-GNU implementations of tr in autogen.sh


Modified:
   branches/SAMBA_4_0/source/autogen.sh


Changeset:
Modified: branches/SAMBA_4_0/source/autogen.sh
===================================================================
--- branches/SAMBA_4_0/source/autogen.sh	2007-08-10 10:31:28 UTC (rev 24312)
+++ branches/SAMBA_4_0/source/autogen.sh	2007-08-10 11:53:52 UTC (rev 24313)
@@ -16,7 +16,7 @@
 ##
 for i in $TESTAUTOHEADER; do
 	if which $i > /dev/null 2>&1; then
-		if test `$i --version | head -n 1 | cut -d.  -f 2 | tr -d [:alpha:]` -ge 53; then
+		if test `$i --version | head -n 1 | cut -d.  -f 2 | sed "s/[^0-9]//g"` -ge 53; then
 			AUTOHEADER=$i
 			AUTOHEADERFOUND="1"
 			break
@@ -30,7 +30,7 @@
 
 for i in $TESTAUTOCONF; do
 	if which $i > /dev/null 2>&1; then
-		if test `$i --version | head -n 1 | cut -d.  -f 2 | tr -d [:alpha:]` -ge 53; then
+		if test `$i --version | head -n 1 | cut -d.  -f 2 | sed "s/[^0-9]//g"` -ge 53; then
 			AUTOCONF=$i
 			AUTOCONFFOUND="1"
 			break



More information about the samba-cvs mailing list