From 77fb821214a1c9b5afa58cc6cad19b62e007f924 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Thu, 13 Aug 2015 20:33:06 +0530 Subject: [PATCH] Upgrade script failure on Jenkin fix --- CRM/Upgrade/Incremental/php/FourSix.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Upgrade/Incremental/php/FourSix.php b/CRM/Upgrade/Incremental/php/FourSix.php index 0df2d2a051..d3ad74d7c8 100644 --- a/CRM/Upgrade/Incremental/php/FourSix.php +++ b/CRM/Upgrade/Incremental/php/FourSix.php @@ -251,7 +251,7 @@ class CRM_Upgrade_Incremental_php_FourSix { $smarty = CRM_Core_Smarty::singleton(); $smarty->assign('domainID', CRM_Core_Config::domainID()); - $fileName = "CRM/Upgrade/Incremental/sql/$rev.mysql.tpl"; + $fileName = dirname(__DIR__) . "/sql/$rev.mysql.tpl"; $upgrade->source($smarty->fetch($fileName), TRUE); -- 2.25.1