summaryrefslogtreecommitdiffstats
path: root/multimedia/cuetools/cuetag.patch
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/cuetools/cuetag.patch')
-rw-r--r--multimedia/cuetools/cuetag.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/multimedia/cuetools/cuetag.patch b/multimedia/cuetools/cuetag.patch
new file mode 100644
index 0000000000..ffda639c28
--- /dev/null
+++ b/multimedia/cuetools/cuetag.patch
@@ -0,0 +1,38 @@
+--- 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"
+