Recent Travis builds are failing when making the distcleancheck
target with:
     ERROR: files left in build directory after distclean:
     ./5

Fix by treating log fd as a file descriptor instead of a file.

Fixes: commit 7777d53d2f4b ("m4: Add hard requirements for python
in "configure")

Signed-off-by: Lance Richardson <[email protected]>
---
 m4/openvswitch.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4
index cbfd755..48892f9 100644
--- a/m4/openvswitch.m4
+++ b/m4/openvswitch.m4
@@ -357,7 +357,7 @@ else:
    AM_CONDITIONAL([HAVE_PYTHON], [test "$HAVE_PYTHON" = yes])
 
    AC_MSG_CHECKING([whether $PYTHON has six library])
-   if ! $PYTHON -c 'import six ; six.moves.range' >AS_MESSAGE_LOG_FD 2>&1; then
+   if ! $PYTHON -c 'import six ; six.moves.range' >&AS_MESSAGE_LOG_FD 2>&1; 
then
      AC_MSG_ERROR([Missing Python six library or version too old.])
    fi
    AC_MSG_RESULT([yes])])
-- 
2.7.4

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to