mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
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 1d5d970830
)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user