summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-12-19 11:34:36 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:51:55 +0100
commit5ed08ebac3545e60ac8c553ffe8b019d7ba3f853 (patch)
tree3e8d06007398cc5a42b510f362f5a8a82ac8a91b /source4/scripting
parent9d71dba42e3d4a31079c28ed6a456bfdfad7f124 (diff)
downloadsamba-5ed08ebac3545e60ac8c553ffe8b019d7ba3f853.tar.gz
samba-5ed08ebac3545e60ac8c553ffe8b019d7ba3f853.tar.bz2
samba-5ed08ebac3545e60ac8c553ffe8b019d7ba3f853.zip
r26534: configure: using == in shell scripts isn't portable
Thanks to Björn Jacke <bj@sernet.de> for reporting this. metze (This used to be commit 1d5d97083029956fd1ce5eb2c0333052a46a334a)
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/config.m4 b/source4/scripting/python/config.m4
index 8c4225175e..96e4da9add 100644
--- a/source4/scripting/python/config.m4
+++ b/source4/scripting/python/config.m4
@@ -65,7 +65,7 @@ if test -z "$PYTHON_LDFLAGS"; then
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