Skip to content

Commit

Permalink
Correcting version script for macs without gsed
Browse files Browse the repository at this point in the history
  • Loading branch information
benjivesterby committed Dec 16, 2021
1 parent 2f03d82 commit 1c0e30a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions version
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ fi
SED=sed
if [[ "$OSTYPE" == "darwin"* ]]
then
if ! which gsed&> /dev/null
then
printf "gsed is required for MacOS\n"
exit 1
fi
SED=gsed
fi

Expand Down

0 comments on commit 1c0e30a

Please sign in to comment.