Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS Version comparison error when defining system GREP_OPTIONS #194

Closed
matthewclower opened this issue Nov 1, 2016 · 1 comment
Closed

Comments

@matthewclower
Copy link

The grep for the OS version in install.sh does not support system defined (and allowed) colors for grep, e.g.: #193

14:31 [matthewcl-]: ~ $ cat ~/.bash_profile | grep GREP_OPTIONS
export GREP_OPTIONS='--color=always'
14:31 [matthewcl-]: ~ $ curl -s https://php-osx.liip.ch/install.sh | bash -s 5.6
****
Your version of OS X (10.11) is not supported, you need at least 10.6
Stopping installation...
If you think that's wrong, try
****
curl -o install.sh -s https://php-osx.liip.ch/install.sh | bash install.sh force
****

The error message shown looks like a very bad comparison but it's really just because of the colors defined at the system level...

In order to support a system that has this configured the --color=never must be specified in the grep command.

@chregu
Copy link
Member

chregu commented Feb 13, 2017

thanks for the hint, it's fixed and soon online

@chregu chregu closed this as completed Feb 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants