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
6969 FORCE=0
7070
7171 # do not forget to update before commit
72−VERSION=106
72+VERSION=107
7373
7474 HELP="\${cG}split2flac version: ${VERSION}
7575 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.
@@ -355,6 +355,7 @@ split_file () { · 279 unmodified lines
355355 fi
356356
357357 # save converted cue sheet
358+ TMPCUE=$(mktemp "${TMPCUE}")
358359 CUE="${TMPCUE}"
359360 echo "${CUESHEET}" > "${CUE}"
360361

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