Merge pull request #135 from javigomez/fixtravis2

Fix travis when using .httaccess
This commit is contained in:
Viktor Vogel 2015-11-01 10:23:28 +01:00
commit 931f1b0e59
1 changed files with 2 additions and 2 deletions

View File

@ -241,8 +241,8 @@ class RoboFile extends \Robo\Tasks
// Optionally uses Joomla default htaccess file. Used by TravisCI
if ($use_htaccess == true)
{
$this->_copy('/tests/joomla-cms3/htaccess.txt', 'tests/joomla-cms3/.htaccess');
$this->_exec('sed -e "s,# RewriteBase /,RewriteBase /tests/joomla-cms3/,g" --in-place tests/joomla-cms3/.htaccess');
$this->_copy('./tests/joomla-cms3/htaccess.txt', './tests/joomla-cms3/.htaccess');
$this->_exec('sed -e "s,# RewriteBase /,RewriteBase /tests/joomla-cms3/,g" -in-place tests/joomla-cms3/.htaccess');
}
}