[gen_image] Added missing target directory parameter

This commit is contained in:
ayakael 2018-05-18 18:38:45 -07:00
parent 1cc832d55e
commit d120b3c44d
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026

View file

@ -18,7 +18,7 @@ gen_image() {
if [[ ${#fileList[@]} -eq 1 ]]; then if [[ ${#fileList[@]} -eq 1 ]]; then
cat ${fileList[@]} > joined.flac cat ${fileList[@]} > joined.flac
else else
shntool join -O always ${fileList[@]} -o flac shntool join -O always ${fileList[@]} -d "${TARGET_DIR}" -o flac
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
med_convert wav ${fileList[@]} med_convert wav ${fileList[@]}
[[ $? -ne 0 ]] && return 1 [[ $? -ne 0 ]] && return 1