Incorrect shell specification causes "Bad substitution" syntax error

Bug #68406 reported by NormanHarebottleIII on 2006-10-26
Affects Status Importance Assigned to Milestone
sarg (Ubuntu)
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"

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
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  Edit
Everyone can see this information.

Other bug subscribers