Package: cuetools Version: 1.3.1-1 Severity: normal
cuetag treats arguments with spaces as multiple files. For example: $ cuetag "CUE File.cue" "Vorbis File.ogg" results in CUE: unknown format CUE: input file error File.cue: error opening file File.cue: input file error etc. Attached is a patch which resolves this issue on my system. -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.19.1-20061226 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages cuetools depends on: ii libc6 2.3.6.ds1-10 GNU C Library: Shared libraries cuetools recommends no packages. -- no debconf information
--- /usr/bin/cuetag 2006-09-06 14:24:47.000000000 -0400 +++ cuetag 2007-01-26 00:13:23.000000000 -0500 @@ -63,7 +63,7 @@ (for field in $fields; do value="" for conv in `eval echo \\$$field`; do - value=`$CUEPRINT -n $1 -t "$conv\n" $cue_file` + value=`$CUEPRINT -n $1 -t "$conv\n" "$cue_file"` if [ -n "$value" ]; then echo "$field=$value" @@ -96,7 +96,7 @@ for field in $fields; do value="" for conv in `eval echo \\$$field`; do - value=`$CUEPRINT -n $1 -t "$conv\n" $cue_file` + value=`$CUEPRINT -n $1 -t "$conv\n" "$cue_file"` if [ -n "$value" ]; then break @@ -141,14 +141,14 @@ cue_file=$1 shift - ntrack=`cueprint -d '%N' $cue_file` + ntrack=`cueprint -d '%N' "$cue_file"` trackno=1 if [ $# -ne $ntrack ]; then echo "warning: number of files does not match number of tracks" fi - for file in $@; do + for file in "$@"; do case $file in *.[Ff][Ll][Aa][Cc]) vorbis $trackno "$file"

