Hopefully it'll work

This commit is contained in:
Sébastien Lucas 2013-11-28 11:11:07 +01:00
parent cacbb94e86
commit 99768e82ee

View file

@ -1,10 +1,10 @@
#!/usr/bin/env bash
PHP_VERSION=`php -v|grep --only-matching --perl-regexp "5\.\\d+"`
PHP_VERSION=`php -v|grep --only-matching --perl-regexp "PHP 5\.\\d+"`
echo $PHP_VERSION
if [[ $PHP_VERSION != "5.5" ]]
if [[ $PHP_VERSION != "PHP 5.5" ]]
then
echo "Bad PHP version"
exit