diff options
author | наб <[email protected]> | 2021-05-14 11:55:17 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-05-20 08:54:47 -0700 |
commit | 2ca77988a5584440b9d322ebb26ab55c730637bf (patch) | |
tree | 06e18642bd5e76503e5f09f591443d348f6dda01 /config/ax_python_devel.m4 | |
parent | 1d106ab57a53dced72d0798c62635f11b8242bd1 (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]) |