History

use mktemp for temporary cue sheet

Serge Zirukin committed 14 years ago

Commit f3b6d871 parent bef52a21 file · +2 −1Browse files

Unified · Split

split2flac.sh+2−1
@@ -69,7 +69,7 @@ unset PIC INPATH CUE CHARSET · 68 unmodified lines
69FORCE=069FORCE=0
70 70
71# do not forget to update before commit71# do not forget to update before commit
72VERSION=10672VERSION=107
73 73
74HELP="\${cG}split2flac version: ${VERSION}74HELP="\${cG}split2flac version: ${VERSION}
75Splits 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.75Splits 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.
@@ -355,6 +355,7 @@ split_file () { · 279 unmodified lines
355 fi355 fi
356 356
357 # save converted cue sheet357 # save converted cue sheet
358 TMPCUE=$(mktemp "${TMPCUE}")
358 CUE="${TMPCUE}"359 CUE="${TMPCUE}"
359 echo "${CUESHEET}" > "${CUE}"360 echo "${CUESHEET}" > "${CUE}"
360 361

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t