Re: A tiny bug with xserver-*: /usr/doc/bubble?
Hi. I think the sed script should have "g":
zgrep bubble xfree86-1_3.3.6-6pre7v1.diff.gz |grep sed
+ sed -e "s/bubble/$package/" -e "s/wibble/$xserver/" -e "s/wobble/$serverbin/" \
This should be changed into
+ sed -e "s/bubble/$package/g" -e "s/wibble/$xserver/g" -e "s/wobble/$serverbin/g" \
In <[🔎] 20000529001839.C567@ecn.purdue.edu>,
at "Mon, 29 May 2000 00:18:39 -0400",
Branden Robinson <branden@ecn.purdue.edu> writes:
> On Sun, May 28, 2000 at 07:08:25AM -0600, Anthony Fok wrote:
> > I just installed 3.3.6-6pre7v1. So far so good! :-)
> >
> > I was trying to look for the directory /usr/doc/xserver-svga,
> > but it's not there, so I checked in
> > /var/lib/dpkg/info/xserver-svga.postinst and noticed the following lines:
> >
> > if [ -d /usr/doc -a ! -e /usr/doc/xserver-svga -a -d /usr/share/doc/bubble ]; then
> > ln -sf ../share/doc/xserver-svga /usr/doc/bubble
> > fi
> >
> > Hmm... interesting. What is "bubble"? :-)
> > The same lines are in xserver-s3.postinst, so I assume all the xserver-*
> > packages (except xserver-common) have this tiny "bubble" bug.
>
> It's a meta-syntactic variable. It's supposed to get replaced by a sed
> operation at build time. If it's not, that's definitely a bug.
The first "bubble" is changed into "xserver-svga", but the second
"bubble" is left, without being replaced.
Regards.
--
Taketoshi Sano: <sano@debian.org>,<sano@debian.or.jp>,<kgh12351@nifty.ne.jp>
Reply to: