diff ui/createinstallerdialog.cpp @ 541:1cddf87f8f83

ix variable path seperator
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 29 Apr 2014 18:08:51 +0000
parents 81d6657757f3
children 421b69eeffe3
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/