From Vic.Bancroft at Choicepoint.Com  Thu Mar  6 22:55:07 2008
From: Vic.Bancroft at Choicepoint.Com (Vic.Bancroft at Choicepoint.Com)
Date: Thu,  6 Mar 2008 22:55:07 +0100 (CET)
Subject: [Rd] javareconf (PR#10905)
Message-ID: <20080306215507.22BB6282EFF6@mail.pubhealth.ku.dk>

Full_Name: Vic.Bancroft
Version: 2.6.2
OS: Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
Submission from: (NULL) (66.241.32.158)


Running the script, javareconf, output intended for /dev/null is generating an
error . . . 

Here is a patch for the java reconfiguration shell script,

Index: src/scripts/javareconf
===================================================================
--- src/scripts/javareconf      (revision 44691)
+++ src/scripts/javareconf      (working copy)
@@ -230,7 +230,7 @@
            done
            if test -z "${jmdinc}"; then
              # ultima-ratio: use find and pray that it works
-             jmdinc=`find "${jinc}/" -name jni_md.h 2>dev/null |head -n 1
2>/dev/null`
+             jmdinc=`find "${jinc}/" -name jni_md.h 2>/dev/null |head -n 1
2>/dev/null`
              if test -n "${jmdinc}"; then jmdinc=`dirname "${jmdinc}"`; fi
            fi
            if test -n "${jmdinc}"; then



[Rd] javareconf (PR#10905)
Vic.Bancroft at Choicepoint.Com