Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 584743 Details for
Bug 821234
scala-2.9.1-3.fc17 has broken OpenJDK 1.6.0 dependency
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
New version of scala tooltemplate patch to use default java version
scala-2.9.1-tooltemplate.patch (text/plain), 2.27 KB, created by
Mikko Tiihonen
on 2012-05-15 18:09:51 UTC
(
hide
)
Description:
New version of scala tooltemplate patch to use default java version
Filename:
MIME Type:
Creator:
Mikko Tiihonen
Created:
2012-05-15 18:09:51 UTC
Size:
2.27 KB
patch
obsolete
>diff -up scala-2.9.1.final-sources/src/compiler/scala/tools/ant/templates/tool-unix.tmpl.tool scala-2.9.1.final-sources/src/compiler/scala/tools/ant/templates/tool-unix.tmpl >--- scala-2.9.1.final-sources/src/compiler/scala/tools/ant/templates/tool-unix.tmpl.tool 2011-05-02 12:20:26.000000000 +0200 >+++ scala-2.9.1.final-sources/src/compiler/scala/tools/ant/templates/tool-unix.tmpl 2011-11-27 20:15:00.986325419 +0100 >@@ -47,24 +47,15 @@ case "`uname`" in > CYGWIN*) cygwin=true ;; > esac > >-# Finding the root folder for this Scala distribution >-SOURCE=$0; >-SCRIPT=`basename "$SOURCE"`; >-while [ -h "$SOURCE" ]; do >- SCRIPT=`basename "$SOURCE"`; >- LOOKUP=`ls -ld "$SOURCE"`; >- TARGET=`expr "$LOOKUP" : '.*-> \(.*\)$'`; >- if expr "${TARGET:-.}/" : '/.*/$' > /dev/null; then >- SOURCE=${TARGET:-.}; >- else >- SOURCE=`dirname "$SOURCE"`/${TARGET:-.}; >- fi; >-done; >- >-# see #2092 >-SCALA_HOME=`dirname "$SOURCE"` >-SCALA_HOME=`cd "$SCALA_HOME"; pwd -P` >-SCALA_HOME=`cd "$SCALA_HOME"/..; pwd` >+export JAVA_HOME=/usr/lib/jvm/java/ >+ >+[ -r @@JAVADIR@@-utils/java-functions ] && . @@JAVADIR@@-utils/java-functions || exit 1 >+ >+set_javacmd || exit 3 >+check_java_env || exit 4 >+set_jvm_dirs || exit 5 >+ >+SCALA_HOME="@@DATADIR@@/scala" > > # Remove spaces from SCALA_HOME on windows > if $cygwin; then >@@ -84,23 +75,6 @@ if [ -z "$TOOL_CLASSPATH" ] ; then > done > fi > >-CYGWIN_JLINE_TERMINAL= >-if $cygwin; then >- if [ "$OS" = "Windows_NT" ] && cygpath -m .>/dev/null 2>/dev/null ; then >- format=mixed >- else >- format=windows >- fi >- SCALA_HOME=`cygpath --$format "$SCALA_HOME"` >- TOOL_CLASSPATH=`cygpath --path --$format "$TOOL_CLASSPATH"` >- case "$TERM" in >- rxvt* | xterm*) >- stty -icanon min 1 -echo >- CYGWIN_JLINE_TERMINAL="-Djline.terminal=scala.tools.jline.UnixTerminal" >- ;; >- esac >-fi >- > [ -n "$JAVA_OPTS" ] || JAVA_OPTS="@javaflags@" > > # break out -D and -J options and add them to JAVA_OPTS as well >@@ -146,11 +120,7 @@ done > # reset "$@@" to the remaining args > set -- "${scala_args[@@]}" > >-if [ -z "$JAVACMD" -a -n "$JAVA_HOME" -a -x "$JAVA_HOME/bin/java" ]; then >- JAVACMD="$JAVA_HOME/bin/java" >-fi >- >-"${JAVACMD:=java}" \ >+exec ${JAVACMD} \ > $JAVA_OPTS \ > "${java_args[@@]}" \ > ${CPSELECT}${TOOL_CLASSPATH} \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 821234
: 584743