History

don't create directory on dry run

Serge Zirukin committed 16 years ago

Commit c104b411 parent ac043ab1 file · +3 −1Browse files

Unified · Split

split2flac.sh+3−1
@@ -303,7 +303,9 @@ split_file ( ) { · 302 unmodified lines
303 DIR_ALBUM="${TAG_DATE} - ${DIR_ALBUM}"303 DIR_ALBUM="${TAG_DATE} - ${DIR_ALBUM}"
304 fi304 fi
305 305
306 mkdir -p "${OUT}/${DIR_ARTIST}"306 if [ ${DRY} -ne 1 ]; then
307 mkdir -p "${OUT}/${DIR_ARTIST}"
308 fi
307 OUT="${OUT}/${DIR_ARTIST}/${DIR_ALBUM}"309 OUT="${OUT}/${DIR_ARTIST}/${DIR_ALBUM}"
308 fi310 fi
309 311

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