From d4b80d8ae8df947e900294a1267fe9ce0882891b Mon Sep 17 00:00:00 2001 From: javier gomez Date: Sat, 31 Oct 2015 12:22:02 +0100 Subject: [PATCH 1/2] Fix wrong move command in robo --- RoboFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RoboFile.php b/RoboFile.php index 1e78044..c056176 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -203,7 +203,7 @@ 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->_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'); } } From ab8116ccc376690ec9fdd7af19191477c2f5c4bc Mon Sep 17 00:00:00 2001 From: javier gomez Date: Sat, 31 Oct 2015 12:37:27 +0100 Subject: [PATCH 2/2] Fixed ilegal usage of sed --- RoboFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RoboFile.php b/RoboFile.php index c056176..84cc293 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -204,7 +204,7 @@ class RoboFile extends \Robo\Tasks 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->_exec('sed -e "s,# RewriteBase /,RewriteBase /tests/joomla-cms3/,g" -in-place tests/joomla-cms3/.htaccess'); } }