svn commit: samba r5270 - in branches/SAMBA_3_0/source: .
jerry at samba.org
jerry at samba.org
Mon Feb 7 22:21:50 GMT 2005
Author: jerry
Date: 2005-02-07 22:21:49 +0000 (Mon, 07 Feb 2005)
New Revision: 5270
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5270
Log:
fixing some bashism's in autogen.sh
Modified:
branches/SAMBA_3_0/source/autogen.sh
Changeset:
Modified: branches/SAMBA_3_0/source/autogen.sh
===================================================================
--- branches/SAMBA_3_0/source/autogen.sh 2005-02-07 22:20:03 UTC (rev 5269)
+++ branches/SAMBA_3_0/source/autogen.sh 2005-02-07 22:21:49 UTC (rev 5270)
@@ -16,7 +16,7 @@
##
for i in $TESTAUTOHEADER; do
if which $i > /dev/null 2>&1; then
- if [ `$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 | tr -d [:alpha:]` -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 [ `$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 | tr -d [:alpha:]` -ge 53; then
AUTOCONF=$i
AUTOCONFFOUND="1"
break
@@ -42,7 +42,7 @@
##
## do we have it?
##
-if [ "$AUTOCONFFOUND" = "0" -o "$AUTOHEADERFOUND" = "0" ]; then
+if test "$AUTOCONFFOUND" = "0" -o "$AUTOHEADERFOUND" = "0"; then
echo "$0: need autoconf 2.53 or later to build samba from SVN" >&2
exit 1
fi
More information about the samba-cvs
mailing list