wrong shell in header

Bug #246082 reported by Pavel Mlčoch
2
Affects Status Importance Assigned to Milestone
gsmlib (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

In header is related /bin/sh, but today in ubuntu is dash used as /usr/sh. But dash dont know function declaration and in file /usr/bin/gsmsmsrequeue is function declaration used.

pavka@pavka:~$ gsmsmsrequeue
/usr/bin/gsmsmsrequeue: 12: function: not found
/usr/bin/gsmsmsrequeue: 23: Syntax error: "}" unexpected
pavka@pavka:~$

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Thanks for this report,

we have fixed this already in our Intrepid release (1.10-12.5ubuntu1).

As a workaround for hardy, you can simply fix the bashism by deleting the function builtins from that script.

Changed in gsmlib:
status: New → 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.