Repaired do_encode since it had multiple output breakage
authorJesus Climent <mooch@debian.org>
Sun, 5 Feb 2006 13:14:33 +0000 (13:14 +0000)
committerJesus Climent <mooch@debian.org>
Sun, 5 Feb 2006 13:14:33 +0000 (13:14 +0000)
abcde

diff --git a/abcde b/abcde
index 70726f4..11b2266 100755 (executable)
--- a/abcde
+++ b/abcde
@@ -926,18 +926,16 @@ do_encode ()
                do
                        case "$TMPOUTPUT" in
                                vorbis|ogg)
-                                       OUT="$ABCDETEMPDIR/track$1.$OGGOUTPUTCONTAINER"
                                        OUTPUT=$OGGOUTPUTCONTAINER
                                        ;;
                                flac)
-                                       OUT="$ABCDETEMPDIR/track$1.$FLACOUTPUTCONTAINER"
                                        OUTPUT=$FLACOUTPUTCONTAINER
                                        ;;
                                *)
-                                       OUT="$ABCDETEMPDIR/track$1.$OUTPUT"
                                        OUTPUT=$TMPOUTPUT
                                        ;;
                        esac
+                       OUT="$ABCDETEMPDIR/track$1.$OUTPUT"
                        if [ "$NOGAP" = "y" ] && checkstatus encodetrack-$OUTPUT-$1 ; then 
                                continue
                        fi