Package: shntool
Version: 3.0.7-1
Severity: minor
Tags: patch

*** Please type your report below this line ***

$ shnjoin -o flac source.flac
shnjoin: error: need two or more files to process
shnjoin:
shnjoin: type 'shnjoin -h' for help


While "joining" a single file seems useless, I am calling shntool from a
script and working past that error would pollute the script with special
cases.

I have attached a patch that downgrades the error to a warning.

-- System Information:
Debian Release: 5.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages shntool depends on:
ii  libc6                       2.7-18lenny4 GNU C Library: Shared libraries

shntool recommends no packages.

Versions of packages shntool suggests:
pn  cuetools                      <none>     (no description available)
hi  flac                          1.2.1-1.2  Free Lossless Audio Codec - comman
ii  sox                           14.2.0-1   Swiss army knife of sound processi

-- no debconf information

Attachment: shntool-join-single-file.patch
Description: Binary data

Reply via email to