[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#566675: lstape: fails with dash as default shell due to bashisms



Package: s390-tools
Version: 1.6.2-1
Severity: important

$ sudo lstape
/sbin/lstape: 30: Syntax error: "(" unexpected

Line 30 contains:
function RequireArgument() {

And 'function' is a bashism. Changing the shebang to /bin/bash fixed the
problem.

Other scripts in the package may well have the same issue.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: s390

Kernel: Linux 2.6.33-rc5 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages s390-tools depends on:
ii  libc6                         2.10.2-5   Embedded GNU C Library: Shared lib

s390-tools recommends no packages.

s390-tools suggests no packages.

-- no debconf information



Reply to: