]> diplodocus.org Git - flac-archive/blobdiff - fa-flacd
Don't count tracks twice.
[flac-archive] / fa-flacd
index 37e79a0a49a5ea3b01abad9c5931862786e97902..822f6283c9210ea61cac2aea960d69cdc60373f7 100755 (executable)
--- a/fa-flacd
+++ b/fa-flacd
@@ -86,12 +86,7 @@ sub flac {
     chdir($dir) or die("chdir($dir): $!");
 
     $outfile = "$album";
-    for ($outfile) {
-        s/\//_/g;
-        s/:/_/g;
-        s/'/_/g;
-        s/"/_/g;
-    }
+    $outfile =~ s/\//_/g;
 
     verbose("Running flac\n");
     $status = system('flac', '-o', "../$artist/$outfile.flac-tmp",