Some scripts produce errors with non-bash shells

Bug #51192 reported by Simon Gerhards
64
Affects Status Importance Assigned to Milestone
beagle (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The scripts "beagle-extract-content", "beagle-index-url" and "beagle-search" exit with an error when executed with dash instead of bash.
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.

Revision history for this message
William Grant (wgrant) wrote :

If it depends on bash, it should point to /bin/bash, as /bin/sh could easily be replaced by another shell, as you say.

Changed in beagle:
status: Unconfirmed → Confirmed
Revision history for this message
Sebastian Dröge (slomo) wrote :

this is fixed with 0.2.7-1ubuntu1 now

Changed in beagle:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.