changeset 541:1cddf87f8f83

ix variable path seperator
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 29 Apr 2014 18:08:51 +0000
parents d7ab9e734317
children 421b69eeffe3
files ui/createinstallerdialog.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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";

http://wald.intevation.org/projects/trustbridge/