[gen_mtag] Fixed typo
This commit is contained in:
parent
b09fa40dec
commit
65dd94cc8f
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ gen_mtag() {
|
||||||
# Generates list of tags to be parsed
|
# Generates list of tags to be parsed
|
||||||
local COUNT=0
|
local COUNT=0
|
||||||
for metadata_track in ${metadata_trackList[@]}; do
|
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 ))
|
local COUNT=$(( ${COUNT} + 1 ))
|
||||||
done
|
done
|
||||||
local tagList=($(tr ';' \\n <<< ${tagList[@]} | awk '!seen[$0]++'))
|
local tagList=($(tr ';' \\n <<< ${tagList[@]} | awk '!seen[$0]++'))
|
||||||
|
|
Loading…
Reference in a new issue