Incorrect shell specification causes "Bad substitution" syntax error

Bug #68406 reported by NormanHarebottleIII
4
Affects Status Importance Assigned to Milestone
sarg (Ubuntu)
Fix Released
Undecided
Michael Bienia

Bug Description

In the sarg-reports shell script, the first line "#!/bin/sh" needs to be replaced with "#!/bin/bash" to operate correctly on my Ubuntu Edgy server release otherwise the following error message appears when trying to run sarg-reports "/usr/sbin/sarg-reports: 168: Syntax error: Bad substitution"

Revision history for this message
Rocco Stanzione (trappist) wrote :

This changes sarg-reports to use /bin/bash rather than /bin/sh

Changed in sarg:
assignee: nobody → motureviewers
Changed in sarg:
assignee: motureviewers → nobody
Revision history for this message
Michael Bienia (geser) wrote :

Fixed in sarg 2.2.2-1ubuntu1.

Changed in sarg:
assignee: nobody → geser
status: Unconfirmed → 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.