diff options
author | наб <[email protected]> | 2021-05-14 11:55:17 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-06-08 14:45:03 -0700 |
commit | 59d91b4d10bac7597cb21394080b3f33b84e184a (patch) | |
tree | cb36445604228978f12ca96ec3607bb86eea8006 /config/ax_python_devel.m4 | |
parent | d53a6969c106cc06a8064dabc3161364e7e04ba9 (diff) |
Fix SC2181 ("[ $?") outside tests/
Reviewed-by: John Kennedy <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #12042
Diffstat (limited to 'config/ax_python_devel.m4')
-rw-r--r-- | config/ax_python_devel.m4 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/ax_python_devel.m4 b/config/ax_python_devel.m4 index c51b45b7d..faf6c2b0d 100644 --- a/config/ax_python_devel.m4 +++ b/config/ax_python_devel.m4 @@ -148,8 +148,7 @@ variable to configure. See ``configure --help'' for reference. # Check if you have distutils, else fail # AC_MSG_CHECKING([for the distutils Python package]) - ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` - if test $? -eq 0; then + if ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) |