Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84777 - app-shell/bash shouldn't make link to /bin/sh if already exists
Summary: app-shell/bash shouldn't make link to /bin/sh if already exists
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 84903
  Show dependency tree
 
Reported: 2005-03-10 12:06 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2006-04-12 10:49 UTC (History)
0 users

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


Attachments
Patch over current ebuild (bash-3.0-r8.patch,366 bytes, patch)
2005-03-10 12:07 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff
bash-3.0-r10.patch (bash-3.0-r10.patch,412 bytes, patch)
2005-04-28 20:32 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-10 12:06:32 UTC
The attached patch applied over current ebuild checks for existance of /bin/sh in which case doesn't create the link from it to bash (which breaks non-linux platform such as fbsd).

HTH, Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-10 12:07:16 UTC
Created attachment 53096 [details, diff]
Patch over current ebuild
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-28 20:32:55 UTC
Created attachment 57537 [details, diff]
bash-3.0-r10.patch

Better patch which looks at $USERLAND to see if needs to create the link or
not.
Comment 3 SpanKY gentoo-dev 2005-04-28 21:16:39 UTC
added to bash-3.0-r10:
[[ ${USERLAND} != "BSD" ]] && dosym ...