Bad test
This commit is contained in:
parent
fd76478e8f
commit
8caa548ec0
|
@ -1,13 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
PHP_VERSION=`php -v|grep --only-matching --perl-regexp "5\.\\d+\"`
|
||||
|
||||
if [[ $PHP_VERSION != "5.5" ]]
|
||||
then
|
||||
echo "Bad PHP version"
|
||||
exit
|
||||
fi
|
||||
|
||||
echo "Good PHP version"
|
||||
|
||||
#!/usr/bin/env bash
|
||||
|
||||
PHP_VERSION=`php -v|grep --only-matching --perl-regexp "5\.\\d+\"`
|
||||
|
||||
if [[ $PHP_VERSION != "5.5" ]]
|
||||
then
|
||||
echo "Bad PHP version"
|
||||
exit
|
||||
fi
|
||||
|
||||
echo "Good PHP version"
|
||||
|
||||
curl -s https://raw.github.com/jlipps/sausage-bun/master/givememysausage.php | php
|
Loading…
Reference in a new issue