[gen_mtag] Fixed typo

This commit is contained in:
ayakael 2018-05-18 14:10:05 -07:00
parent b09fa40dec
commit 65dd94cc8f
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026

View file

@ -16,7 +16,7 @@ gen_mtag() {
# Generates list of tags to be parsed
local COUNT=0
for metadata_track in ${metadata_trackList[@]}; do
local tagList[${COUNT}]=($(awk 'BEGIN{RS=";";FS="="}{print $1";"}' <<< ${metadata_track}))
local tagList[${COUNT}]=$(awk 'BEGIN{RS=";";FS="="}{print $1";"}' <<< ${metadata_track})
local COUNT=$(( ${COUNT} + 1 ))
done
local tagList=($(tr ';' \\n <<< ${tagList[@]} | awk '!seen[$0]++'))