Some scripts produce errors with non-bash shells
Bug #51192 reported by
Simon Gerhards
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
beagle (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The scripts "beagle-
The error is "exec: 24: -a: not found"
This is due to dash's "exec" not supporting bash's "exec -a" for setting the name of the executed process. Many other shells do not support this either.
FIX:
As Beagle already depends on bash, let the scripts be executed by /bin/bash instead of /bin/sh. Other scripts in the beagle package like "beagled" do this already.
To post a comment you must log in.
If it depends on bash, it should point to /bin/bash, as /bin/sh could easily be replaced by another shell, as you say.