Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 217658 Details for
Bug 302529
=dev-util/eclipse-sdk-3.5.1 wrapper script is not POSIX shell compliant
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Make the script /bin/sh-compliant
eclipse-3.5.diff (text/plain), 1.05 KB, created by
Michał Górny
on 2010-01-27 21:09:08 UTC
(
hide
)
Description:
Make the script /bin/sh-compliant
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2010-01-27 21:09:08 UTC
Size:
1.05 KB
patch
obsolete
>--- eclipse-3.5.orig 2010-01-27 22:03:49.692377336 +0100 >+++ eclipse-3.5 2010-01-27 22:06:19.501611564 +0100 >@@ -11,24 +11,27 @@ > > SLOT="3.5" > >-[ -f "/etc/eclipserc-${SLOT}" ] && source "/etc/eclipserc-${SLOT}" >-[ -f "$HOME/gentoo/.eclipserc" ] && source "$HOME/gentoo/.eclipserc" >+[ -f "/etc/eclipserc-${SLOT}" ] && . "/etc/eclipserc-${SLOT}" >+[ -f "$HOME/gentoo/.eclipserc" ] && . "$HOME/gentoo/.eclipserc" > > ECLIPSE_HOME=${ECLIPSE_HOME:="/usr/lib/eclipse-${SLOT}"} > ECLIPSE_BIN="${ECLIPSE_HOME}/eclipse" > > if [ ! -x "${ECLIPSE_BIN}" ] ; then > echo "Failed to find executable '${ECLIPSE_BIN}'" > /dev/stderr >- exit -1 >+ exit 1 > fi > > if [ $(id -u) -eq 0 ] ; then >- echo "Do not run eclipse as root user! Exiting ..." >- exit -1 >+ echo "Do not run eclipse as root user! Exiting ..." > /dev/stderr >+ exit 1 > fi > >-[[ "$(java-config -f)" =~ "gcj" ]] \ >- && export JAVA_PKG_CLASSMAP="${ECLIPSE_HOME}/eclipse.gcjdb" >+case "$(java-config -f)" in >+ *gcj*) >+ export JAVA_PKG_CLASSMAP="${ECLIPSE_HOME}/eclipse.gcjdb" >+ ;; >+esac > > eval $(gjl --package "swt-${SLOT}" --get-args) >
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 302529
: 217658