Fix the apetag check
authorAndrew Strong <andrew.david.strong@gmail.com>
Thu, 2 Apr 2015 21:31:23 +0000 (08:31 +1100)
committerAndrew Strong <andrew.david.strong@gmail.com>
Thu, 2 Apr 2015 21:31:23 +0000 (08:31 +1100)
Plus minor syntax correction to changelog.

abcde
changelog

diff --git a/abcde b/abcde
index 832fbff..706cd29 100755 (executable)
--- a/abcde
+++ b/abcde
@@ -3944,7 +3944,7 @@ do
                        ;;
                ape)
                        [ "$APENCODERSYNTAX" = "default" ] && APENCODERSYNTAX=mac
-                       [ "$DOTAG" = "y" ]
+                       [ "$DOTAG" = "y" ] && NEEDAPETAG=y
                        ;;
                aac)
                    [ "$AACENCODERSYNTAX" = "default" ] && AACENCODERSYNTAX=faac
@@ -4235,14 +4235,14 @@ fi
 # Make sure a buncha things exist
 for X in $CDROMREADER $CDDISCID ${NEEDTAGGER+$TAGGER} $MP3ENCODER \
        $OGGENCODER $OPUSENCODER $FLACENCODER $SPEEXENCODER $MPCENCODER \
-       $AACENCODER $WVENCODER $CDDBTOOL $APENCODER $APETAG \
+       $AACENCODER $WVENCODER $CDDBTOOL $APENCODER \
        ${NEEDHTTPGET+$HTTPGET} ${NEEDDISTMP3+$DISTMP3} \
        ${NEEDCOMMENTER+$VORBISCOMMENT} ${NEEDMETAFLAC+$METAFLAC} \
        ${NEEDNORMALIZER+$NORMALIZER} ${NEEDEJECT+$EJECT} \
        ${NEEDDISKUTIL+diskutil} ${NEEDCDSPEED+$CDSPEED} \
        ${NEEDVORBISGAIN+$VORBISGAIN} ${NEEDMP3GAIN+$MP3GAIN} \
        ${NEEDMPCGAIN+$MPCGAIN} ${NEEDCUEREADER+$CUEREADER} \
-       ${NEEDWVGAIN+WVGAIN} \
+       ${NEEDWVGAIN+WVGAIN} ${NEEDAPETAG+$APETAG} \
        ${NEEDCUE2DISCID+$CUE2DISCID}
 do
        checkexec "$X"
index b91c67d..146f1ef 100644 (file)
--- a/changelog
+++ b/changelog
@@ -9,7 +9,7 @@ abcde 2.6.1
   * Fix for MusePack to allow the use of the SV8 ReplayGain 
     application 'mpcgain'.
   * Monkey's Audio (ape) encoding added. Tagging is with
-  * Robert Muth's apetag. Thanks to Shantiq for testing.
+    Robert Muth's apetag. Thanks to Shantiq for testing.
   * Simplify Opus tagging.This closes Issue 133.
   * Allow 'clean' when OUTPUTTYPE=wav, broken for some time.
     Thanks to Roger rogerx.oss<at>gmail.com for showing the