-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

have you tested it with 1.3.1-2, because this faulty behaviour should be
fixed in every script at this revision.

Matthias Urlichs schrieb:
> Package: cuetools
> Version: 1.3.1-1
> Severity: important
> Tags: patch
> 
> The "cuetag" shell script attempts to quote pathnames.
> Emphasis on "attempt". :-(
> 
> --- /usr/bin/cuetag   2006-09-28 15:32:22.000000000 +0200
> +++ /tmp/cuetag       2008-06-10 21:12:22.029198702 +0200
> @@ -62,8 +62,8 @@
>  
>       (for field in $fields; do
>               value=""
> -             for conv in `eval echo \\$$field`; do
> -                     value=`$CUEPRINT -n $1 -t "$conv\n" $cue_file`
> +             for conv in $(eval echo \\$$field); do
> +                     value=$($CUEPRINT -n $1 -t "$conv\n" "$cue_file")
>  
>                       if [ -n "$value" ]; then
>                               echo "$field=$value"
> @@ -95,8 +95,8 @@
>  
>       for field in $fields; do
>               value=""
> -             for conv in `eval echo \\$$field`; do
> -                     value=`$CUEPRINT -n $1 -t "$conv\n" $cue_file`
> +             for conv in $(eval echo \\$$field); do
> +                     value=$($CUEPRINT -n $1 -t "$conv\n" "$cue_file")
>  
>                       if [ -n "$value" ]; then
>                               break
> @@ -138,18 +138,18 @@
>               exit
>       fi
>  
> -     cue_file=$1
> +     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
> -             case $file in
> +     for file in "$@"; do
> +             case "$file" in
>               *.[Ff][Ll][Aa][Cc])
>                       vorbis $trackno "$file"
>                       ;;
> 
> 
> 


- --
Mit freundlichem Gruß / With kind regards,
Patrick Matthäi

E-Mail: [EMAIL PROTECTED]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEUEARECAAYFAkhSoRAACgkQ2XA5inpabMc91QCY0s7qvsHuka6fjYy83DWdGutw
/ACgpgrI6Z9M7Q7a8TmiaH9yTzL6nMo=
=M8C/
-----END PGP SIGNATURE-----



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

Reply via email to