GNU bug report logs - #9306
Java build errors due to trailing colon in CLASSPATH

Previous Next

Package: automake;

Reported by: "Daniel Richard G." <skunk <at> iSKUNK.ORG>

Date: Mon, 15 Aug 2011 19:57:02 UTC

Severity: normal

Tags: patch

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #16 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Daniel Richard G." <skunk <at> iSKUNK.ORG>
To: "Stefano Lattarini" <stefano.lattarini <at> gmail.com>, bug-automake <at> gnu.org
Cc: 9306 <at> debbugs.gnu.org
Subject: Re: bug#9306: Java build errors due to trailing colon in CLASSPATH
Date: Tue, 16 Aug 2011 15:10:11 -0400
On Tue, 2011 Aug 16 15:30+0200, Stefano Lattarini wrote:
>
> Luckily, as far as I know, the above construct should be portable to
> all non-museum shells.  So I've used it with only a minor modification
> (with the only purpose of making the contruct slighlty clearer):
>
>   CLASSPATH=mumblemumble$${CLASSPATH:+":$$CLASSPATH"}

The extra clarity is appreciated; I'm still not used to doing these
special variable dereferences :-)

> I can reproduce the problem using your test case, and fix it using
> your suggestion.  I've preparad the attached patch, which I will push
> in a couple of days if there are no further comments.

The patch works for me, and I defer to you on older shells being able to
handle this.

> BTW, are you the same "Daniel Richard G." listed in THANKS with the
> address "danielg <at> teragram.com"?  If yes, should I update your
> address there?

The same! That's my work address, and while it remains active, my
personal address (@iskunk.org) is the one I usually go by in this realm.
Please feel free to update the entry.


Regards,


--Daniel


-- 
NAME = Daniel Richard G.     _\|/_    Remember, skunks
MAIL = skunk <at> iSKUNK.ORG     (/o|o\) _- don't smell bad---
MAIL+= skunk <at> alum.MIT.EDU   < (^),>     it's the people who
WWW  = (not there yet!)      /   \      annoy us that do!




This bug report was last modified 13 years and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.