diff --git a/fragments/labels/tageditor.sh b/fragments/labels/tageditor.sh index 666284c..61663b5 100644 --- a/fragments/labels/tageditor.sh +++ b/fragments/labels/tageditor.sh @@ -2,6 +2,6 @@ tageditor) name="Tag Editor" type="dmg" downloadURL="https://amvidia.com/downloads/tag-editor-mac.dmg" - appNewVersion=curl -sf "https://amvidia.com/tag-editor" | grep -o -E '"softwareVersion":.'"{8}" | sed 's/\"//g' | awk -F ': ' '{print $2}' + appNewVersion=$(curl -sf "https://amvidia.com/tag-editor" | grep -o -E '"softwareVersion":.'"{8}" | sed -E 's/.*"([0-9.]*).*/\1/g') expectedTeamID="F2TH9XX9CJ" ;;