Re: [PATCH] fix coreutils-5.0.91 rejecting "[ toto -eq tata ]" like form
From:
Thierry Vignaud
Subject:
Re: [PATCH] fix coreutils-5.0.91 rejecting "[ toto -eq tata ]" like forms
Date:
Thu, 08 Jan 2004 11:06:45 +0000
User-agent:
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
Jim Meyering <address@hidden> writes:
> > > Since I am unable to reproduce those failures,
> > > I suspect that some of the implied `-4mdk' changes
> > > introduced the problem.
> >
> > it seems sg break it but i failled to see any hunk that can affect [:
>
> [ and test both use test.c. `[' is built from lbracket.c.
oh, your setence made me understand now:
in the past, we used to run "ln -sf test $RPM_BUILD_ROOT%_bindir/[" in
our spec file, thus overwriting [ with a symlink to test, resulting in
ARGV[0] always be test.
upstream changes brooke this and i didn't notice it hence the buggy
bug report. sorry :-(
i'll upload a new package with a better fix (aka removing the extra
linking)