feat(macos-compatibility): remove requirement for gnu-version of sed
which supports case-insensitive search, by converting all characters to lowercase before usage
This commit is contained in:
parent
9e50b92ecd
commit
32269042ab
@ -374,7 +374,7 @@ fi
|
||||
|
||||
list=
|
||||
|
||||
lang=$(grep -i "_..-.*.esd" <<< "$metadataFiles" | head -1 | sed 's/.*_//g;s/.esd//gi')
|
||||
lang=$(grep -i "_..-.*.esd" <<< "$metadataFiles" | head -1 | tr '[:upper:]' '[:lower:]' | sed 's/.*_//g;s/.esd//g')
|
||||
metadataFiles=$(grep -i "$lang" <<< "$metadataFiles" | sort | uniq)
|
||||
firstMetadata=$(head -1 <<< "$metadataFiles")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user