[cmd_import_tracks] Fixed missing arg for import_src
This commit is contained in:
parent
6758a5c8e4
commit
9d0d824944
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ cmd_import_tracks() {
|
||||||
local importList=($(find ${GIT_DIR}/.import/ -mindepth 1 -maxdepth 1 -type d -printf '%p\t'))
|
local importList=($(find ${GIT_DIR}/.import/ -mindepth 1 -maxdepth 1 -type d -printf '%p\t'))
|
||||||
for import in ${importList[@]}; do
|
for import in ${importList[@]}; do
|
||||||
_msg EXEC "Importing ${import}"
|
_msg EXEC "Importing ${import}"
|
||||||
import_src "${GIT_DIR}" "${import}" >${STDERR} 2>&1
|
import_src "${GIT_DIR}" "${import}" ${FLAC} >${STDERR} 2>&1
|
||||||
local EXIT=$?
|
local EXIT=$?
|
||||||
[[ ${EXIT} -eq 0 ]] && _msg OK || { _msg WARN "Importation of ${import} failed, continuing"; continue; }
|
[[ ${EXIT} -eq 0 ]] && _msg OK || { _msg WARN "Importation of ${import} failed, continuing"; continue; }
|
||||||
rm -R ${import} >/dev/null 2>&1
|
rm -R ${import} >/dev/null 2>&1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue