[Pkg-gtkpod-devel] Bug#600834: gtkpod: Quote args of tr

Daiki Ueno ueno at unixuser.org
Wed Oct 20 13:09:45 UTC 2010


Package: gtkpod
Version: 0.99.14-3
Severity: normal

In /usr/share/gtkpod/scripts/gtkpod-convert-common.sh:

 filetype=`echo ${infile_extension}| tr [:upper:] [:lower:]`

where "[:upper:]" and "[:lower:]" should be quoted.  Otherwise, if
"${infile_extension}" contains "a" and there is a file named "p" in the
current directory, you will get wrong result.  Try:

 $ touch p
 $ dash -c 'echo aaa | tr [:lower:] [:upper:]'
 ppp

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

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gtkpod depends on:
ii  gtkpod-data                 0.99.14-3    architecture-independent files for
ii  libatk1.0-0                 1.30.0-1     The ATK accessibility toolkit
ii  libc6                       2.11.2-6     Embedded GNU C Library: Shared lib
ii  libcairo2                   1.8.10-6     The Cairo 2D vector graphics libra
ii  libcurl3-gnutls             7.21.2-1     Multi-protocol file transfer libra
ii  libdbus-1-3                 1.2.24-3     simple interprocess messaging syst
ii  libflac8                    1.2.1-3      Free Lossless Audio Codec - runtim
ii  libfontconfig1              2.8.0-2.1    generic font configuration library
ii  libfreetype6                2.4.2-2      FreeType 2 font engine, shared lib
ii  libgconf2-4                 2.28.1-5     GNOME configuration database syste
ii  libglade2-0                 1:2.6.4-1    library to load .glade files at ru
ii  libglib2.0-0                2.24.2-1     The GLib library of C routines
ii  libgnomevfs2-0              1:2.24.3-1   GNOME Virtual File System (runtime
ii  libgpod4                    0.7.93-0.3   library to read and write songs an
ii  libgtk2.0-0                 2.20.1-2     The GTK+ graphical user interface 
ii  libhal1                     0.5.14-3     Hardware Abstraction Layer - share
ii  libid3tag0                  0.15.1b-10   ID3 tag reading library from the M
ii  libpango1.0-0               1.28.3-1     Layout and rendering of internatio
ii  libvorbis0a                 1.3.1-1      The Vorbis General Audio Compressi
ii  libvorbisfile3              1.3.1-1      The Vorbis General Audio Compressi
ii  libxml2                     2.7.7.dfsg-4 GNOME XML library

Versions of packages gtkpod recommends:
ii  id3v2                         0.1.12-2   A command line id3v2 tag editor
ii  vorbis-tools                  1.4.0-1    several Ogg Vorbis tools

Versions of packages gtkpod suggests:
pn  faac                    <none>           (no description available)
pn  faad                    <none>           (no description available)
ii  lame                    3.98.4-0.0       LAME Ain't an MP3 Encoder
pn  mp3gain                 <none>           (no description available)
ii  perl                    5.10.1-15        Larry Wall's Practical Extraction 
ii  python                  2.6.6-3+squeeze1 interactive high-level object-orie

-- no debconf information

-- 
Daiki Ueno





More information about the Pkg-gtkpod-devel mailing list