Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 274545

Summary: dev-util/eclipse-sdk-3.4-r2 wrapper script does not work with dash
Product: Gentoo Linux Reporter: René 'Necoro' Neumann <gentoo>
Component: [OLD] DevelopmentAssignee: Development Tools Team <dev-tools>
Status: RESOLVED FIXED    
Severity: normal CC: java
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: eclipse-3.4-remove-bashism.patch

Description René 'Necoro' Neumann 2009-06-17 20:00:02 UTC
The wrapper script installed with eclipse-sdk-3.4-r2 (/usr/bin/eclipse-3.4) does not work with "/bin/sh" being dash.

% eclipse-3.4 
/usr/bin/eclipse-3.4: 14: source: not found
/usr/bin/eclipse-3.4: 31: [[: not found

This error is not critical, because eclipse starts up nevertheless ;) (at least for me, not using gcj). But I wanted to mention it.
Comment 1 Christoph Brill (egore) (RESIGNED) 2011-04-01 13:16:49 UTC
Created attachment 268129 [details, diff]
eclipse-3.4-remove-bashism.patch

Remove bashism from eclipse 3.4 by porting over the changes from 3.5
Comment 2 Alistair Bush (RETIRED) gentoo-dev 2011-04-03 07:59:16 UTC
Committed.  Thanks egore.