Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37726901
en ru br
ALT Linux repos
S:1.4.0-alt1.git20131123
5.0: 1.3.1-alt2.M50.1
4.1: 1.3.1-alt2.M41.1
4.0: 1.3.1-alt2

Group :: Sound
RPM: cuetools

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: cuetools-1.3.1-alt4.qa1-alt-changes.patch
Download


 extras/cuetag.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/extras/cuetag.sh b/extras/cuetag.sh
index 29ce38c..b475369 100755
--- a/extras/cuetag.sh
+++ b/extras/cuetag.sh
@@ -18,7 +18,7 @@ vorbis()
 {
 	# FLAC tagging
 	# --remove-vc-all overwrites existing comments
-	METAFLAC="metaflac --remove-vc-all --import-vc-from=-"
+	METAFLAC="metaflac --remove-all-tags --import-tags-from=-"
 
 	# Ogg Vorbis tagging
 	# -w overwrites existing comments
@@ -63,7 +63,7 @@ vorbis()
 	(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"
@@ -138,10 +138,10 @@ main()
 		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
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin