Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37824576
en ru br
Репозитории ALT
S:7.0.3-alt1
5.1: 4.13-alt7
4.1: 4.11-alt3
4.0: 4.8-alt4
3.0: 4.8-alt2
www.altlinux.org/Changes

Группа :: Издательство
Пакет: texinfo

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: texinfo-4.8-alt-texi2dvi-recode.patch
Скачать


diff -urk.orig texinfo-4.8.orig/util/texi2dvi texinfo-4.8/util/texi2dvi
--- texinfo-4.8.orig/util/texi2dvi	2004-12-31 21:03:05 +0300
+++ texinfo-4.8/util/texi2dvi	2005-01-04 18:56:25 +0300
@@ -90,7 +90,7 @@
 oformat=dvi
 oname=          # --output
 quiet=          # by default let the tools' message be displayed
-recode=false
+recode=
 set_language=
 textra=         # Extra TeX commands to insert in the input file.
 textra_cmd=     # sed command to insert TEXTRA where appropriate
@@ -191,7 +191,7 @@
       esac;;
     -p | --p*) oformat=pdf;;
     -q | -s | --q* | --s*) quiet=t; batch=true;;
-    -r | --r*) recode=true;;
+    -r | --r*) recode=recode;;
     -t | --tex* | --com* ) shift; textra="$textra\\
 "`echo "$1" | sed 's/\\\\/\\\\\\\\/g'`;;
     -v | --vers*) echo "$version"; exit 0;;
@@ -611,9 +611,9 @@
 	:found                                               
 	q'
     encoding=`sed -e "$pgm" "$filename_input"`
-    if $recode && test -n "$encoding" && findprog recode; then
+    if test -n "$recode" && test -n "$encoding" && findprog "$recode"; then
       $verbose "Recoding from $encoding to Texinfo."
-      if recode "$encoding"..texinfo <"$filename_input" >"$filename_rcd" \
+      if "$recode" "$encoding"..texinfo <"$filename_input" >"$filename_rcd" \
          && test -s "$filename_rcd"; then
         filename_input=$filename_rcd
       else
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin