[PATCH 1 of 6] Fix SW_Resource defines for linux

Wald Commits scm-commit at wald.intevation.org
Thu Jun 26 17:43:17 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1403705228 -7200
# Node ID 911b94a475e057b85aaaa1b39bc1e081f6b09cf2
# Parent  b00c26fbc695dfad48587800d000fce413db1562
Fix SW_Resource defines for linux

diff -r b00c26fbc695 -r 911b94a475e0 ui/mainwindow.cpp
--- a/ui/mainwindow.cpp	Thu Jun 26 16:29:35 2014 +0200
+++ b/ui/mainwindow.cpp	Wed Jun 25 16:07:08 2014 +0200
@@ -54,19 +54,21 @@
 
 #ifdef RELEASE_BUILD
 # define LIST_RESOURCE "/users/aheinecke/zertifikatsliste.txt"
-# define SW_RESOURCE   "/users/aheinecke/TrustBridge.exe"
 # ifdef Q_OS_WIN
 #  define SW_RESOURCE_VERSION "/users/aheinecke/TrustBridge-%1.exe"
+#  define SW_RESOURCE "/users/aheinecke/TrustBridge.exe"
 # else
 #  define SW_RESOURCE_VERSION "/users/aheinecke/TrustBridge-%1.sh"
+#  define SW_RESOURCE "/users/aheinecke/TrustBridge.sh"
 # endif
 #else // RELEASE_BUILD
 # define LIST_RESOURCE "/users/aheinecke/development/zertifikatsliste.txt"
-# define SW_RESOURCE   "/users/aheinecke/development/TrustBridge.exe"
 # ifdef Q_OS_WIN
 #  define SW_RESOURCE_VERSION "/users/aheinecke/development/TrustBridge-development.exe"
+#  define SW_RESOURCE "/users/aheinecke/development/TrustBridge.exe"
 # else
 #  define SW_RESOURCE_VERSION "/users/aheinecke/development/TrustBridge-development.sh"
+#  define SW_RESOURCE "/users/aheinecke/development/TrustBridge.sh"
 # endif
 #endif
 


More information about the Trustbridge-commits mailing list