[PATCH] ix variable path seperator

Wald Commits scm-commit at wald.intevation.org
Tue Apr 29 20:08:53 CEST 2014


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1398794931 0
# Node ID 1cddf87f8f8303440224572575f80311ff4936f5
# Parent  d7ab9e7343175a7c26879ba6a1c2236bb9211daa
ix variable path seperator

diff -r d7ab9e734317 -r 1cddf87f8f83 ui/createinstallerdialog.cpp
--- a/ui/createinstallerdialog.cpp	Tue Apr 29 18:07:27 2014 +0000
+++ b/ui/createinstallerdialog.cpp	Tue Apr 29 18:08:51 2014 +0000
@@ -208,18 +208,18 @@
     mNSISProc.setWorkingDirectory(outDir.path());
 #ifdef Q_OS_WIN
     arguments << QString::fromLatin1("/Dfiles_dir=") + binDir.path().replace("/", "\\") + "\\windows";
-    arguments << "/Dpath_sep=\\"
+    arguments << "/Dpath_sep=\\";
     foreach (const QString &key, keys) {
         arguments << QString::fromLatin1("/D%1=%2").arg(key,
                 options.value(key, QString()).toString());
     }
 #else
     arguments << QString::fromLatin1("-Dfiles_dir=") + binDir.path() + "/windows";
+    arguments << "-Dpath_sep=/";
     foreach (const QString &key, keys) {
         arguments << QString::fromLatin1("-D%1=%2").arg(key,
                 options.value(key, QString()).toString());
     }
-    arguments << "-Dpath_sep=/"
 #endif
 
     arguments << binDir.path() + "/trustbridge.nsi";


More information about the Trustbridge-commits mailing list