diff --git a/Mage/Config.php b/Mage/Config.php index ffc3310..b05ff55 100644 --- a/Mage/Config.php +++ b/Mage/Config.php @@ -15,7 +15,7 @@ class Mage_Config $this->_environmentName = $environment; // Create temporal directory for clone - if (is_array($this->_environment['deployment']['source'])) { + if (isset($this->_environment['deployment']['source']) && is_array($this->_environment['deployment']['source'])) { if (trim($this->_environment['deployment']['source']['temporal']) == '') { $this->_environment['deployment']['source']['temporal'] = '/tmp'; } diff --git a/Mage/Task/Deploy.php b/Mage/Task/Deploy.php index befbc78..272aece 100644 --- a/Mage/Task/Deploy.php +++ b/Mage/Task/Deploy.php @@ -84,7 +84,7 @@ class Mage_Task_Deploy // Time Information Hosts if ($this->_hostsCount > 0) { $timeTextHost = $this->_transcurredTime($this->_endTimeHosts - $this->_startTimeHosts); - Mage_Console::output('Average time for deployment: ' . $timeTextHost . '.'); + Mage_Console::output('Time for deployment: ' . $timeTextHost . '.'); $timeTextPerHost = $this->_transcurredTime(round(($this->_endTimeHosts - $this->_startTimeHosts) / $this->_hostsCount)); Mage_Console::output('Average time per host: ' . $timeTextPerHost . '.'); diff --git a/bin/mage b/bin/mage index 3c590d6..5b34806 100755 --- a/bin/mage +++ b/bin/mage @@ -1,5 +1,5 @@ #!/bin/sh -#VERSION:0.9.9 +#VERSION:0.9.10 SCRIPT=$(readlink -f $0) DIR=$(dirname $SCRIPT) diff --git a/bin/mage.php b/bin/mage.php index 882ed43..c838315 100644 --- a/bin/mage.php +++ b/bin/mage.php @@ -24,7 +24,7 @@ date_default_timezone_set('UTC'); $baseDir = dirname(dirname(__FILE__)); -define('MAGALLANES_VERSION', '0.9.9'); +define('MAGALLANES_VERSION', '0.9.10'); require_once $baseDir . '/Mage/spyc.php'; require_once $baseDir . '/Mage/Autoload.php';