From 7dc3a76aae298f9f4e2898083abb002cd6e1abc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 4 Dec 2014 14:56:35 +0100 Subject: [PATCH] Fix runkit caching MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- test/install-runkit | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/test/install-runkit b/test/install-runkit index 9ead0cb171..6a9bd00d6f 100755 --- a/test/install-runkit +++ b/test/install-runkit @@ -1,13 +1,16 @@ #!/bin/bash -if [ ! -d ~/runkit/.git ] ; then +set -e + +mkdir -p ~/runkit +if [ ! -d ~/runkit/runkit/.git ] ; then if [ $TRAVIS_PHP_VERSION = "5.6" ] ; then - git clone --depth=1 git://github.com/adrianguenter/runkit.git + git clone --depth=1 git://github.com/adrianguenter/runkit.git ~/runkit/runkit else: - git clone --depth=1 git://github.com/zenovich/runkit.git + git clone --depth=1 git://github.com/zenovich/runkit.git ~/runkit/runkit fi fi -pushd ~/runkit +pushd ~/runkit/runkit git pull phpize ./configure