cops/test/prepareSauceTest.sh
2013-11-28 11:11:07 +01:00

15 lines
300 B
Bash

#!/usr/bin/env bash
PHP_VERSION=`php -v|grep --only-matching --perl-regexp "PHP 5\.\\d+"`
echo $PHP_VERSION
if [[ $PHP_VERSION != "PHP 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