[Rd] javareconf (PR#10905)

Vic.Bancroft at Choicepoint.Com Vic.Bancroft at Choicepoint.Com
Thu Mar 6 22:55:07 CET 2008


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



More information about the R-devel mailing list