diff --git a/src/cmd_import_tracks b/src/cmd_import_tracks index 6fdda14..9c35940 100644 --- a/src/cmd_import_tracks +++ b/src/cmd_import_tracks @@ -8,7 +8,7 @@ # USAGE # cmd_import_tracks # -# DEPENDENCIES bunc/src/* src/import_track src/import_dir src/ismp3 src/iszip +# DEPENDENCIES bunc/src/* src/import_track src/import_src src/ismp3 src/iszip # # } @@ -42,7 +42,7 @@ cmd_import_tracks() { local importList=($(find ${GIT_DIR}/.import/ -mindepth 1 -maxdepth 1 -type d -printf '%p\t')) for import in ${importList[@]}; do _msg EXEC "Importing ${import}" - import_dir "${GIT_DIR}" "${import}" ${SOURCE} >${STDERR} 2>&1 + import_src "${GIT_DIR}" "${import}" >${STDERR} 2>&1 local EXIT=$? [[ ${EXIT} -eq 0 ]] && _msg OK || { _msg WARN "Importation of ${import} failed, continuing"; continue; } rm -R ${import} >/dev/null 2>&1