diff options
Diffstat (limited to 'community/cuetools/cuetag.patch')
-rw-r--r-- | community/cuetools/cuetag.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/cuetools/cuetag.patch b/community/cuetools/cuetag.patch new file mode 100644 index 000000000..cd41dcd56 --- /dev/null +++ b/community/cuetools/cuetag.patch @@ -0,0 +1,37 @@ +--- extras/cuetag.sh 2006-09-06 14:24:47.000000000 -0400 ++++ extras/cuetag.sh 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" |