summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-02 05:40:47 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-02 07:39:08 +0200
commit95c2f226b122c7fdb77c6e9085b1fbd02189db03 (patch)
treeda9993357a0cd9df5bd6c75aa02545f9a249c389 /desktop
parent74a3a035143b471c3edd2392b44c68c8695dcc23 (diff)
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@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/updater.cxx5
1 files changed, 2 insertions, 3 deletions
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