Package: gsm-utils
Version: 1.10-12
Severity: normal

When I run /usr/bin/gsmsmsrequeue, it fails saying
/usr/bin/gsmsmsrequeue: 12: function: not found
/usr/bin/gsmsmsrequeue: 23: Syntax error: "}" unexpected

This is because it declares itself as a pure shell script, with 
#! /bin/sh

If I change that sh to bash, then the script works.

I have set my /bin/sh to point to dash, a pure posix-only shell, in
order to trap bashisms like this.

Could you therefore patch gsmsmsrequeue to declare itself as #! /bin/bash,
if that's what's intended, or else fix the function declaration so
that it conforms with a pure posix shell?

Thanks,
Drew

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gsm-utils depends on:
ii  adduser                       3.105      add and remove users and groups
ii  libc6                         2.7-5      GNU C Library: Shared libraries
ii  libgcc1                       1:4.2.2-4  GCC support library
ii  libgsmme1c2a                  1.10-12    GSM mobile phone access library
ii  libstdc++6                    4.2.2-4    The GNU Standard C++ Library v3

gsm-utils recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to