From 68bf4fe26d500fb57d3b8e95517638d949ea6d90 Mon Sep 17 00:00:00 2001 From: Phil Jay Date: Thu, 19 Oct 2023 22:25:05 +1100 Subject: [PATCH] Remove duplicate code The functionality is included in `shared.sh` which is sourced by this file --- version-lookup.sh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/version-lookup.sh b/version-lookup.sh index 58c3fae..cb1d4d4 100755 --- a/version-lookup.sh +++ b/version-lookup.sh @@ -10,18 +10,6 @@ if [[ "${input_errors}" == 'true' ]] ; then exit 8 fi -##==---------------------------------------------------------------------------- -## MacOS compatibility - for local testing - -export grep="grep" -if [[ "$(uname)" == "Darwin" ]] ; then - export grep="ggrep" - if ! grep --version 1>/dev/null ; then - echo "🛑 GNU grep not installed, try brew install coreutils" 1>&2 - exit 9 - fi -fi - ##==---------------------------------------------------------------------------- ## Get tags from GitHub repo