Upgrade script failure on Jenkin fix
authormonishdeb <monish.deb@webaccessglobal.com>
Thu, 13 Aug 2015 15:03:06 +0000 (20:33 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Thu, 13 Aug 2015 15:03:06 +0000 (20:33 +0530)
CRM/Upgrade/Incremental/php/FourSix.php

index 0df2d2a051057f8ea68cbb8875bd7aeb0b369a22..d3ad74d7c8d1ec8d57a93e8bb3d80a12a9178767 100644 (file)
@@ -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);