From 9df38af0ab7d5288761b86d80f1026a8b92bb5f4 Mon Sep 17 00:00:00 2001 From: wilsonge Date: Thu, 12 Sep 2019 14:12:11 +0100 Subject: [PATCH] better sed --- .drone/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone/build.sh b/.drone/build.sh index db0bbf3..018894c 100644 --- a/.drone/build.sh +++ b/.drone/build.sh @@ -13,7 +13,7 @@ cp jorobo.dist.ini jorobo.ini cp RoboFile.dist.ini RoboFile.ini # Make sure the path to the CMS is inside the apache config for docker -sed -i 's!tests/joomla!/tests/www/tests/joomla!' RoboFile.ini +sed -r 's!^(cmsPath\s*=\s*)(.*)!\1\/tests\/www\/\2!' RoboFile.ini # Build package vendor/bin/robo build --dev