From a825414558ecfa179d03c52effddbc4f61713722 Mon Sep 17 00:00:00 2001 From: ThomasBarris Date: Thu, 23 Aug 2018 10:02:34 +0200 Subject: [PATCH] push the right version of update.php --- utils/update.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/update.php b/utils/update.php index b207fd6c..414fadb5 100755 --- a/utils/update.php +++ b/utils/update.php @@ -99,9 +99,9 @@ if ($aResult['init-updates']) { fail('pyosmium-get-changes not found or not usable'); } if (!$aResult['no-update-functions']) { - $sSetup = CONST_InstallPath.'/utils/setup.php'; + $sSetup ='@PHP_BIN@ '. CONST_InstallPath.'/utils/setup.php'; $iRet = -1; - passthru(@PHP_BIN@.' --create-functions --enable-diff-updates', $iRet); + passthru($sSetup.' --create-functions --enable-diff-updates', $iRet); if ($iRet != 0) { fail('Error running setup script'); } -- 2.43.2