From a0f765de047158c6ada12b37b2e601a4a7685585 Mon Sep 17 00:00:00 2001 From: micio Date: Tue, 21 Feb 2012 11:55:15 +0000 Subject: [PATCH] Bazaar/Updater : changed RealizePath() with RealizeDirectory() -- was failing install on linux git-svn-id: svn://ultimatepp.org/upp/trunk@4610 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- bazaar/Updater/Updater.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bazaar/Updater/Updater.cpp b/bazaar/Updater/Updater.cpp index a04710787..f83598fcd 100644 --- a/bazaar/Updater/Updater.cpp +++ b/bazaar/Updater/Updater.cpp @@ -638,8 +638,8 @@ bool Updater::FetchApp(ProductVersion ver, bool devel) else FileCopy(appServerPath, destPath); #ifdef PLATFORM_POSIX - if(chmod(~destPath, 0755) != 0) - return false; + if(chmod(~destPath, 0755) != 0) + return false; #endif // stores current version inside system config path @@ -661,11 +661,11 @@ bool Updater::Run() { // create user config path only on normal run if(state == NormalRun) - RealizePath(userConfigPath); + RealizeDirectory(userConfigPath); // creates system config path on superuser mode if(state == InsideUpdater) - RealizePath(systemConfigPath); + RealizeDirectory(systemConfigPath); switch(state) {