configure: Deep-six "5".
authorBen Pfaff <blp@nicira.com>
Thu, 27 May 2010 21:40:25 +0000 (14:40 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 27 May 2010 21:42:23 +0000 (14:42 -0700)
Perhaps you've noticed that whenever you run "configure" you end up with
a file named "5" in your current directory.  This commit fixes that
problem.

m4/openvswitch.m4

index 621d69a..2206aff 100644 (file)
@@ -290,10 +290,10 @@ AC_DEFUN([OVS_CHECK_PYTHON_MODULE],
       if test $HAVE_PYTHON = yes; then
         AS_ECHO(["running $PYTHON -c 'import $1
 import sys
-sys.exit(0)'..."]) >AS_MESSAGE_LOG_FD 2>&1
+sys.exit(0)'..."]) >&AS_MESSAGE_LOG_FD 2>&1
         if $PYTHON -c 'import $1
 import sys
-sys.exit(0)' >AS_MESSAGE_LOG_FD 2>&1; then
+sys.exit(0)' >&AS_MESSAGE_LOG_FD 2>&1; then
           ovs_cv_py_[]AS_TR_SH([$1])=yes
         fi
       fi])])