Merge remote-tracking branch 'ben/next' into color_detection
This commit is contained in:
commit
5a0f330cd7
2 changed files with 102 additions and 437 deletions
|
@ -365,8 +365,7 @@ esac
|
|||
# `sed` is unfortunately not consistent across OSes when it comes to flags.
|
||||
SED_EXTENDED_REGEX_PARAMETER="-r"
|
||||
if [[ "$OS" == 'OSX' ]]; then
|
||||
local IS_BSD_SED
|
||||
IS_BSD_SED=$(sed --version &>> /dev/null || echo "BSD sed")
|
||||
local IS_BSD_SED="$(sed --version &>> /dev/null || echo "BSD sed")"
|
||||
if [[ -n "$IS_BSD_SED" ]]; then
|
||||
SED_EXTENDED_REGEX_PARAMETER="-E"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue