fix: use cut shortname flag for macos compat

This commit is contained in:
James Hegedus
2023-03-31 17:36:15 +11:00
parent 29d66d4da5
commit 2f7d0798f9

View File

@@ -65,7 +65,7 @@ function check_plugin_from_file() {
test -n "$README_LINE" ||
fail "Expected a line at README.md with a link to ${PLUGIN_REPO_NO_GIT}"
BADGE_COLUMN="$(echo "${README_LINE}" | cut --delimiter='|' -f4)"
BADGE_COLUMN="$(echo "${README_LINE}" | cut -d '|' -f4)"
BADGE_URL="$(echo "${BADGE_COLUMN}" | badge_svg)"
# Assert that the badge has "pass" text in it, indicating the plugin is healthy