On 25 August 2008 at 13:19, Thijs Kinkhorst wrote:
| >Trouble is that we then accumulate yet another Debian-only patch... Oh well.
|
| Why wouldn't it be acceptable to upstream?
I'll talk to them but mktemp is not universal, is it?
| > So something like
| >
| > # test functionality of the compiler
| > javac_works='not present'
| > if test -n "$JAVAC"; then
| > javac_works='not functional'
| > #rm -rf /tmp/A.java /tmp/A.class
| > tempdir=`mktemp -d`
| > echo "public class A { }" > ${tempdir}/A.java
| > if test -e ${tempdir}/A.java; then
| > if "${JAVAC}" ${tempdir}/A.java >/dev/null; then
| > if test -e ${tempdir}/A.class; then
| > javac_works=yes
| > fi
| > fi
| > fi
| > #rm -rf /tmp/A.java /tmp/A.class
| > rm -rf ${tempdir}
| > fi
| >
| > should do, right?
|
| Yes, that looks good. Thanks for working on this!
Pleasure.
A new release happens to have come out this morning (as per a timeline
announced a few weeks ago).
Dirk
--
Three out of two people have difficulties with fractions.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]