Remove duplicate code

The functionality is included in `shared.sh` which is sourced by this
file
This commit is contained in:
Phil Jay
2023-10-19 22:25:05 +11:00
parent 89a53df5e6
commit 68bf4fe26d

View File

@@ -10,18 +10,6 @@ if [[ "${input_errors}" == 'true' ]] ; then
exit 8 exit 8
fi 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 ## Get tags from GitHub repo