From 6a78ebbc8cc34473cadeadb62ee15b2ed9c22a70 Mon Sep 17 00:00:00 2001 From: Jelle Kok Date: Thu, 24 Aug 2017 01:41:34 +0200 Subject: [PATCH] fix copy .htaccess --- RoboFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RoboFile.php b/RoboFile.php index d438fef..61c36e7 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -216,7 +216,7 @@ class RoboFile extends \Robo\Tasks if ($useHtaccess == true) { $this->say('Renaming htaccess.txt to .htaccess'); - $this->_copy('./htaccess.txt', $this->cmsPath . '/.htaccess'); + $this->_copy($this->cmsPath . '/htaccess.txt', $this->cmsPath . '/.htaccess'); $this->_exec('sed -e "s,# RewriteBase /,RewriteBase /tests/joomla-cms,g" -in-place tests/joomla/.htaccess'); } }