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

Bug 84777

Summary: app-shell/bash shouldn't make link to /bin/sh if already exists
Product: Gentoo/Alt Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: OtherAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 84903    
Attachments: Patch over current ebuild
bash-3.0-r10.patch

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 ...