svn commit: samba r26534 - in branches/SAMBA_4_0/source/scripting/python: .

metze at samba.org metze at samba.org
Wed Dec 19 11:34:37 GMT 2007


Author: metze
Date: 2007-12-19 11:34:36 +0000 (Wed, 19 Dec 2007)
New Revision: 26534

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

Log:
configure: using == in shell scripts isn't portable

Thanks to Bj?\195?\182rn Jacke <bj at sernet.de> for reporting this.

metze
Modified:
   branches/SAMBA_4_0/source/scripting/python/config.m4


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/python/config.m4
===================================================================
--- branches/SAMBA_4_0/source/scripting/python/config.m4	2007-12-19 08:18:57 UTC (rev 26533)
+++ branches/SAMBA_4_0/source/scripting/python/config.m4	2007-12-19 11:34:36 UTC (rev 26534)
@@ -65,7 +65,7 @@
 	py_version=`$PYTHON -c "from distutils.sysconfig import *; \
 		from string import join; \
 		print join(get_config_vars('VERSION'))"`
-	if test "$py_version" == "[None]"; then
+	if test "$py_version" = "[None]"; then
 		if test -n "$PYTHON_VERSION"; then
 			py_version=$PYTHON_VERSION
 		else



More information about the samba-cvs mailing list