Unified · Split
| @@ -68,7 +68,7 @@ unset PIC INPATH CUE CHARSET · 67 unmodified lines | ||
| 68 | 68 | FORCE=0 |
| 69 | 69 | |
| 70 | 70 | # do not forget to update before commit |
| 71 | −VERSION=120 | |
| 71 | +VERSION=121 | |
| 72 | 72 | |
| 73 | 73 | HELP="\${cG}split2flac version: ${VERSION} |
| 74 | 74 | Splits one big \${cU}APE/FLAC/WV/WAV\$cZ\$cG audio image (or a collection) into \${cU}FLAC/M4A/MP3/OGG_VORBIS/WAV\$cZ\$cG tracks with tagging and renaming. |
| @@ -555,7 +555,7 @@ split_file () { · 480 unmodified lines | ||
| 555 | 555 | FINAL=$(update_pattern "${FINAL}" "performer" "${TAG_PERFORMER}") |
| 556 | 556 | FINAL=$(update_pattern "${FINAL}" "track" "${FILE_TRACK}") |
| 557 | 557 | |
| 558 | − if [ ${DRY} -ne 1 ]; then | |
| 558 | + if [ ${DRY} -ne 1 -a "$f" != "${FINAL}" ]; then | |
| 559 | 559 | mv "$f" "${FINAL}" |
| 560 | 560 | if [ $? -ne 0 ]; then |
| 561 | 561 | emsg "Failed to rename track file\n" |