Added a check for the KEEPWAVS variable before announcing we are cancelling it
authordata <data@a0fa61bc-5347-0410-a1a9-7f54aa4e1825>
Mon, 3 Oct 2005 15:20:23 +0000 (15:20 +0000)
committerdata <data@a0fa61bc-5347-0410-a1a9-7f54aa4e1825>
Mon, 3 Oct 2005 15:20:23 +0000 (15:20 +0000)
git-svn-id: http://abcde.googlecode.com/svn/trunk@132 a0fa61bc-5347-0410-a1a9-7f54aa4e1825

abcde

diff --git a/abcde b/abcde
index 539c95c..c06981f 100755 (executable)
--- a/abcde
+++ b/abcde
@@ -2720,7 +2720,9 @@ do
                        [ "$MPPENCODERSYNTAX" = "default" ] && MPPENCODERSYNTAX=mppenc
                        ;;
                wav)
                        [ "$MPPENCODERSYNTAX" = "default" ] && MPPENCODERSYNTAX=mppenc
                        ;;
                wav)
-                       vecho "Unsetting the KEEPWAVS option, since the resulting wav files were requested..."
+                       if [ "$KEEPWAVS" = "y" ]; then
+                               vecho "Unsetting the KEEPWAVS option, since the resulting wav files were requested..."
+                       fi
                        KEEPWAVS=move
                        ;;
                *)      echo "abcde error: Invalid OUTPUTTYPE defined" >&2
                        KEEPWAVS=move
                        ;;
                *)      echo "abcde error: Invalid OUTPUTTYPE defined" >&2