$NetBSD: patch-am,v 1.2 2008/09/01 17:53:47 christos Exp $

--- util/texi2dvi.orig	2008-04-17 21:45:49.000000000 +0300
+++ util/texi2dvi	2008-09-01 19:43:58.000000000 +0300
@@ -1094,7 +1094,7 @@
 # main info output, the user asked to run TeX, not makeinfo.
 run_makeinfo ()
 {
-  test $in_lang == texinfo ||
+  test $in_lang = texinfo ||
     return 0
 
   # Unless required by the user, makeinfo expansion is wanted only
