Bug#979624: ant doesn't work when called as /bin/ant
tony mancill
tmancill at debian.org
Sun Jan 10 22:28:43 GMT 2021
On Sat, Jan 09, 2021 at 10:06:31AM +0100, Jochen Topf wrote:
> Package: ant
> Version: 1.10.5-2
> Severity: normal
>
> Dear Maintainer,
>
> When calling "ant" through "/bin/ant" instead of "/usr/bin/ant" it fails
> with "/bin/ant: 1: cd: can't cd to /bin/../share/ant/bin/..". This also
> happens when "/bin" is in $PATH before "/usr/bin".
Hi Jochen,
This looks like a duplicate of bug #914748 [1] and is addressed by the
patch [2]. (I tested on a system with usrmerge installed to be sure.)
However, the patch hasn't been backported to stable.
Cheers,
tony
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914748
[2] https://salsa.debian.org/java-team/ant/-/blob/master/debian/patches/0017-usrmerge-proof.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20210110/0e203c78/attachment.sig>
More information about the pkg-java-maintainers
mailing list