fix audio tag script: compare basename instead of whole argument
This commit is contained in:
parent
a5ab7fcdbd
commit
5b6efb5e9b
|
@ -10,7 +10,7 @@ function _tag_audio_extra_tags() {
|
|||
|
||||
for dir in ${@}; do
|
||||
[[ -d ${dir} ]] || continue
|
||||
if [[ "${dir}" == "singles" ]] || [[ "${dir}" == "misc" ]]; then
|
||||
if [[ "${dir##*/}" == "singles" ]] || [[ "${dir##*/}" == "misc" ]]; then
|
||||
print -Pu2 "%B%F{yellow}skipping ${dir}%f%b"
|
||||
continue
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user