[import_track] Consolidate subdir now includes SOURCE var
This commit is contained in:
parent
e025acf4d1
commit
8c47dfbb54
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ import_track() {
|
||||||
|
|
||||||
# Setting TRACK_DIR
|
# Setting TRACK_DIR
|
||||||
[[ -z "${DISCNUMBER}" ]] && local DISCNUMBER=1
|
[[ -z "${DISCNUMBER}" ]] && local DISCNUMBER=1
|
||||||
local TRACK_DIR="${GIT_DIR}/.import/${ARTIST}--${ALBUM}--$(printf '%02d' ${DISCNUMBER})"
|
local TRACK_DIR="${GIT_DIR}/.import/${SOURCE}/${ARTIST}--${ALBUM}--$(printf '%02d' ${DISCNUMBER})"
|
||||||
mkdir -p ${TRACK_DIR}
|
mkdir -p ${TRACK_DIR}
|
||||||
[[ ${EXIT} -eq 0 ]] || return 1
|
[[ ${EXIT} -eq 0 ]] || return 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue