Hopefully it'll work
This commit is contained in:
parent
cacbb94e86
commit
99768e82ee
|
@ -1,10 +1,10 @@
|
||||||
#!/usr/bin/env bash
|
#!/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
|
echo $PHP_VERSION
|
||||||
|
|
||||||
|
|
||||||
if [[ $PHP_VERSION != "5.5" ]]
|
if [[ $PHP_VERSION != "PHP 5.5" ]]
|
||||||
then
|
then
|
||||||
echo "Bad PHP version"
|
echo "Bad PHP version"
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Reference in a new issue