cops/test/prepareSauceTest.sh

13 lines
278 B
Bash
Raw Normal View History

2013-11-28 10:44:17 +02:00
#!/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"
curl -s https://raw.github.com/jlipps/sausage-bun/master/givememysausage.php | php