From 62e8106130e4ff501437f1b0667d9a21d774998d Mon Sep 17 00:00:00 2001 From: Daniel Holmes Date: Sun, 30 Jun 2013 19:44:02 +1000 Subject: [PATCH] Tested And Resolved --- PHPCI/Model/Build/LocalBuild.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PHPCI/Model/Build/LocalBuild.php b/PHPCI/Model/Build/LocalBuild.php index e917d2c3..856a3f7c 100644 --- a/PHPCI/Model/Build/LocalBuild.php +++ b/PHPCI/Model/Build/LocalBuild.php @@ -31,9 +31,9 @@ class LocalBuild extends Build $buildPath = substr($buildPath, 0, -1); $yamlParser = new YamlParser(); - if(is_file($reference.'config')) { + if(is_file($reference.'/config')) { //We're probably looing at a bare repository. We'll open the config and check - $gitConfig = parse_ini_file($reference.'config'); + $gitConfig = parse_ini_file($reference.'/config',TRUE); if($gitConfig["core"]["bare"]) { // Looks like we're right. We need to extract the archive! $guid = uniqid();