[Libreoffice-commits] core.git: desktop/source

Markus Mohrhard markus.mohrhard at googlemail.com
Wed Aug 2 05:40:11 UTC 2017


 desktop/source/app/updater.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 95c2f226b122c7fdb77c6e9085b1fbd02189db03
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Wed Aug 2 05:40:47 2017 +0200

    updater: fix incorrect installation directory path
    
    With this change one step updates are finally working correctly.
    
    Change-Id: I41a33b670039adc85a24de713bd0938d99da6662
    Reviewed-on: https://gerrit.libreoffice.org/40660
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx
index 16e847d50df7..7e328a1a68d3 100644
--- a/desktop/source/app/updater.cxx
+++ b/desktop/source/app/updater.cxx
@@ -154,9 +154,8 @@ char** createCommandLine()
     }
     {
         // the actual update directory
-        OUString aInstallPath = getPathFromURL(aInstallDir);
-        Updater::log("Install Dir: " + aInstallPath);
-        createStr(aInstallPath, pArgs, 2);
+        Updater::log("Install Dir: " + aInstallDir);
+        createStr(aInstallDir, pArgs, 2);
     }
     {
         // the temporary updated build


More information about the Libreoffice-commits mailing list