From d8b123b4b00bbc5094ff79491d2675b476087632 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Wed, 9 Aug 2017 16:33:23 +0200 Subject: updater: fix the updater path on windows Change-Id: I69ff622c12a289c4ac240ee4a7313eeffc3203b9 Reviewed-on: https://gerrit.libreoffice.org/40987 Tested-by: Jenkins Reviewed-by: Markus Mohrhard --- desktop/source/app/updater.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'desktop/source/app') diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx index f284eab096e5..d1cd07d76f1e 100644 --- a/desktop/source/app/updater.cxx +++ b/desktop/source/app/updater.cxx @@ -274,8 +274,7 @@ bool update() OUString aTempDirURL = aTempDir.GetURL(); CopyUpdaterToTempDir(Updater::getExecutableDirURL(), aTempDirURL); - OUString aTempDirPath = getPathFromURL(aTempDirURL); - OUString aUpdaterPath = aTempDirPath + "/" + OUString::fromUtf8(pUpdaterName); + OUString aUpdaterPath = getPathFromURL(aTempDirURL + "/" + OUString::fromUtf8(pUpdaterName)); Updater::log("Calling the updater with parameters: "); CharT** pArgs = createCommandLine(); @@ -297,6 +296,7 @@ bool update() } else { + SAL_WARN("desktop.updater", "Updater executable path: " << aUpdaterPath); for (size_t i = 0; i < 8 + rtl_getAppCommandArgCount(); ++i) { SAL_WARN("desktop.updater", pArgs[i]); -- cgit