Sophie

Sophie

distrib > Altlinux > 4.1 > i586 > by-pkgid > 68d2e9720c7ec8da0f0735883c536dbb > files > 5

texinfo-4.11-alt3.src.rpm

This patch masks the call to dvips to fool shell.req :-(.

--- texinfo-4.11/util/texi2dvi
+++ texinfo-4.11/util/texi2dvi
@@ -164,6 +164,8 @@ recode_from=    # if not empty, recode from this encoding to @documentencoding
 
 orig_pwd=`pwd`
 
+DVIPS=dvips
+
 # We have to initialize IFS to space tab newline since we save and
 # restore IFS and apparently POSIX allows stupid/broken behavior with
 # empty-but-set IFS.
@@ -982,7 +984,7 @@ run_tex_suite ()
       move_to_dest "$in_noext.$(out_lang_ext)"
       ;;
     ps)
-      dvips -o "$in_noext.$(out_lang_ext)" "$in_noext.$(out_lang_tex)"
+      $DVIPS -o "$in_noext.$(out_lang_ext)" "$in_noext.$(out_lang_tex)"
       move_to_dest "$in_noext.$(out_lang_ext)"
       ;;
   esac