Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176670 - beagle assumes /bin/sh is bash
Summary: beagle assumes /bin/sh is bash
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Cédric Krier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 176517
  Show dependency tree
 
Reported: 2007-05-01 11:55 UTC by Roy Marples (RETIRED)
Modified: 2008-04-26 10:12 UTC (History)
1 user (show)

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


Attachments
Force bash (beagle-bash.patch,1.03 KB, patch)
2007-05-01 11:56 UTC, Roy Marples (RETIRED)
Details | Diff
patch (patch,5.24 KB, patch)
2007-07-17 12:17 UTC, Daniel Drake (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roy Marples (RETIRED) gentoo-dev 2007-05-01 11:55:38 UTC
as it likes to use exec -a, which is a bashism. Most scripts do use bash, but some use /bin/sh.
Comment 1 Roy Marples (RETIRED) gentoo-dev 2007-05-01 11:56:27 UTC
Created attachment 117836 [details, diff]
Force bash
Comment 2 Luis Medinas (RETIRED) gentoo-dev 2007-07-17 02:53:42 UTC
Roy we can apply this patch but we should try to push this to upstream and upstream is unlikely to accept it because it will turn an explicit dependency on bash, doesn't this scripts run on csh fbsd shell ?
Comment 3 Roy Marples (RETIRED) gentoo-dev 2007-07-17 06:43:22 UTC
-a as an argument to exec is *only* available with bash, so by using it makes bash a dependency.

I could provide a simple patch not to use -a which works on all bourne shells, which imo would be better.
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2007-07-17 12:15:48 UTC
The patch can't be applied upstream as it patches files that are generated
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2007-07-17 12:17:16 UTC
Created attachment 125151 [details, diff]
patch

...or at least some of them are.

here's a patch I started to write in response to this bug a while ago. Can't remember if I completed it or not.
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2007-07-17 12:18:19 UTC
(In reply to comment #2)
> upstream is unlikely to accept it because it will turn an explicit dependency
> on bash

Beagle already explicitly requires bash.
Comment 7 Cédric Krier gentoo-dev 2008-04-26 10:12:04 UTC
Fix in beagle-0.3