[import_dir] Fixing sorting issues with find
This commit is contained in:
parent
07df84dc56
commit
04b8691fac
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ import_dir() {
|
|||
local TRACK_DIR="${2}"
|
||||
local SOURCE=FLAC
|
||||
|
||||
local trackList=($(find ${TRACK_DIR} -maxdepth 1 -name '*.flac' -printf '%p\t'))
|
||||
local trackList=($(find ${TRACK_DIR} -maxdepth 1 -name '*.flac' -printf '%p\n' | sort))
|
||||
|
||||
# Join trackList
|
||||
_msg EXEC "Generating joined image"
|
||||
|
|
Loading…
Reference in a new issue