blob: ffda639c28a7a1c4e6a171cc9c3dd8960500fd4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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"
|