History

fix output directory creation

Serge Zirukin committed 16 years ago

Commit c9dba271 parent 2bc8ef51 file · +2 −2Browse files

Unified · Split

split2flac.sh+2−2
@@ -417,8 +417,8 @@ split_file () { · 416 unmodified lines
417 # remove if empty and create output dir417 # remove if empty and create output dir
418 if [ ${NOSUBDIRS} -eq 0 ]; then418 if [ ${NOSUBDIRS} -eq 0 ]; then
419 rmdir "${OUT}" 2>/dev/null419 rmdir "${OUT}" 2>/dev/null
420 mkdir "${OUT}"420 mkdir -p "${OUT}"
421 [ $? -ne 0 ] && { emsg "Failed to create output directory (already split?)\n"; return 1; }421 [ $? -ne 0 ] && { emsg "Failed to create output directory ${OUT} (already split?)\n"; return 1; }
422 fi422 fi
423 423
424 case ${FORMAT} in424 case ${FORMAT} in

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