[cmd_import_images] Fixed typo
This commit is contained in:
parent
77337f5f45
commit
d263b1a38b
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ cmd_import_images() {
|
||||||
folderList=($(find "${dir}" -name '*.cue' -printf '%h\n' | awk '!seen[$0]++'))
|
folderList=($(find "${dir}" -name '*.cue' -printf '%h\n' | awk '!seen[$0]++'))
|
||||||
for folder in ${folderList[@]}; do
|
for folder in ${folderList[@]}; do
|
||||||
local fileList=($(find "${folder}" \( -name '*.flac' -o -name '*.cue' -o -name '*.accurip' -o -name '*.log' -o -name '*.jpg' -o -name '*.png' \) ))
|
local fileList=($(find "${folder}" \( -name '*.flac' -o -name '*.cue' -o -name '*.accurip' -o -name '*.log' -o -name '*.jpg' -o -name '*.png' \) ))
|
||||||
for ext in flac cue accurip log jpg
|
for ext in flac cue accurip log jpg; do
|
||||||
local fileList=($(find "${folder}" -name "*.${ext}"))
|
local fileList=($(find "${folder}" -name "*.${ext}"))
|
||||||
[[ ${#fileList[@]} -gt 1 ]] && return 1
|
[[ ${#fileList[@]} -gt 1 ]] && return 1
|
||||||
case ${ext} in
|
case ${ext} in
|
||||||
|
|
Loading…
Reference in a new issue