properly use oggenc
authorRudolf Polzer <divverent@alientrap.org>
Sat, 6 Nov 2010 12:31:46 +0000 (13:31 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 6 Nov 2010 12:31:46 +0000 (13:31 +0100)
misc/tools/cached-converter.sh

index e89a0f1890e63057d15c5fb28f42431c2b10b84d..0161041056b6a045b6a0f52ddebfb40fcd8c0399 100755 (executable)
@@ -260,7 +260,7 @@ for F in "$@"; do
                        cached "$do_ogg" reduce_ogg_ogg "$F" "" "$F" "" "$ogg_qual"
                        ;;
                *.wav)
-                       cached "$do_ogg" reduce_wav_ogg "$F" "" "$F" "" "$ogg_qual"
+                       cached "$do_ogg" reduce_wav_ogg "$F" "" "${f}.ogg" "" "$ogg_qual"
                        ;;
        esac
        if $del_src; then