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

Bug#288182: tetex-bin postinst fails when calling fmtutil



On Tue, 11 Jan 2005 11:55:16 +0100
Frank Küster <frank@debian.org> wrote:


> >> Second: Replace the first line by "#!/bin/sh -x", call fmtutil again
> >> and post the output (will be sent to stderr).
> >
> > ---
> > Setting up tetex-bin (2.0.2-25) ...
> 
> This is from "dpkg --configure -a" as root, or which command did you call?

This was an "apt-get upgrade"

> 
> [...]
> > + OIFS= ,
> > + IFS=
> 
> The code behind this is:
> 
> OIFS=$IFS
> IFS='
> '
> set `echo x; sed '/^#/d; /^[ 	]*$/d' "$cnf_file"`; shift
> IFS=$OIFS
> 
> So this means that your original setting of IFS must contain a comma
> (instead of something sane, i.e. a combination of space, tab and
> possibly newline).

Interesting, my $IFS is set to \n. So it must have been changed
in between. Though, as IFS is set, i don't think this affects it.



Greetings from the ETH

				Attila Kinali



Reply to: