[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#275181: tetex-base: pdftex.map screwed up



On Mon, 2004-10-18 at 12:31 +0200, Frank Küster wrote:
[...]
> I just installed zsh ( 4.2.1 (i686-pc-linux-gnu)), and could not
> reproduce it. Can you tell us your exact settings in the shell startup
> files? 

I got the point why 'updmap' fails.

It does not have anything to do with the shell and/or shell colors. It
is all about grep...

When exporting

GREP_OPTIONS="--colour=always"
GREP_COLOR=4

updmap fails since it uses grep is adding the escape sequences for
matched expressions.

Thanks for the hints. Patch attached.

> Regards, Frank

   Timo

..............................................................
Timo Hönig <thoenig at nouse dot net>
..................................................:: gpg ::...
Fingerprint: 0998 0ACA A1D2 2612 4D96 DD8B E03F 084B B305 4066
--- updmap_org	2004-10-18 12:56:04 +0200
+++ updmap	2004-10-18 13:07:07 +0200
@@ -71,6 +71,10 @@
 # hack around a bug in zsh:
 test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
 
+# unset grep options (problems if grep option '--colour=' is used).
+test -n "$GREP_OPTIONS"
+unset GREP_OPTIONS
+
 version=2.0
 
 ###############################################################################

Reply to: