diff --git a/RoboFile.php b/RoboFile.php index 7844566..1bd22c8 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -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'); } }