Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274545 - dev-util/eclipse-sdk-3.4-r2 wrapper script does not work with dash
Summary: dev-util/eclipse-sdk-3.4-r2 wrapper script does not work with dash
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Development Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-17 20:00 UTC by René 'Necoro' Neumann
Modified: 2011-04-03 07:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
eclipse-3.4-remove-bashism.patch (eclipse-3.4-remove-bashism.patch,406 bytes, patch)
2011-04-01 13:16 UTC, Christoph Brill (egore) (RESIGNED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.