Author: cazfi
Date: Tue Aug 16 08:45:32 2016
New Revision: 33614

URL: http://svn.gna.org/viewcvs/freeciv?rev=33614&view=rev
Log:
For the purposes of setting QT_PLUGIN_PATH, made Windows Installer based builds 
use %~dp0 to
find freeciv installation directory.

Reported by mir3x <mir3x>

See bug #24901

Modified:
    branches/S2_6/win32/installer/freeciv-mp-qt.cmd
    branches/S2_6/win32/installer/freeciv-qt.cmd
    branches/S2_6/win32/installer/freeciv-ruledit.cmd
    branches/S2_6/win32/installer_msys2/freeciv-mp-qt.cmd
    branches/S2_6/win32/installer_msys2/freeciv-qt.cmd
    branches/S2_6/win32/installer_msys2/freeciv-ruledit.cmd

Modified: branches/S2_6/win32/installer/freeciv-mp-qt.cmd
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/win32/installer/freeciv-mp-qt.cmd?rev=33614&r1=33613&r2=33614&view=diff
==============================================================================
--- branches/S2_6/win32/installer/freeciv-mp-qt.cmd     (original)
+++ branches/S2_6/win32/installer/freeciv-mp-qt.cmd     Tue Aug 16 08:45:32 2016
@@ -1,4 +1,4 @@
 @echo off
 if %1 NEQ auto set LANG=%1
-set QT_PLUGIN_PATH=./plugins
+set QT_PLUGIN_PATH=%~dp0\plugins
 start freeciv-mp-qt.exe %2 %3 %4 %5 %6 %7 %8 %9

Modified: branches/S2_6/win32/installer/freeciv-qt.cmd
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/win32/installer/freeciv-qt.cmd?rev=33614&r1=33613&r2=33614&view=diff
==============================================================================
--- branches/S2_6/win32/installer/freeciv-qt.cmd        (original)
+++ branches/S2_6/win32/installer/freeciv-qt.cmd        Tue Aug 16 08:45:32 2016
@@ -1,4 +1,4 @@
 @echo off
 if %1 NEQ auto set LANG=%1
-set QT_PLUGIN_PATH=./plugins
+set QT_PLUGIN_PATH=%~dp0\plugins
 start freeciv-qt.exe %2 %3 %4 %5 %6 %7 %8 %9

Modified: branches/S2_6/win32/installer/freeciv-ruledit.cmd
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/win32/installer/freeciv-ruledit.cmd?rev=33614&r1=33613&r2=33614&view=diff
==============================================================================
--- branches/S2_6/win32/installer/freeciv-ruledit.cmd   (original)
+++ branches/S2_6/win32/installer/freeciv-ruledit.cmd   Tue Aug 16 08:45:32 2016
@@ -1,4 +1,4 @@
 @echo off
 if %1 NEQ auto set LANG=%1
-set QT_PLUGIN_PATH=./plugins
+set QT_PLUGIN_PATH=%~dp0\plugins
 start freeciv-ruledit.exe %2 %3 %4 %5 %6 %7 %8 %9

Modified: branches/S2_6/win32/installer_msys2/freeciv-mp-qt.cmd
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/win32/installer_msys2/freeciv-mp-qt.cmd?rev=33614&r1=33613&r2=33614&view=diff
==============================================================================
--- branches/S2_6/win32/installer_msys2/freeciv-mp-qt.cmd       (original)
+++ branches/S2_6/win32/installer_msys2/freeciv-mp-qt.cmd       Tue Aug 16 
08:45:32 2016
@@ -1,4 +1,4 @@
 @echo off
 if %1 NEQ auto set LANG=%1
-set QT_PLUGIN_PATH=./plugins
+set QT_PLUGIN_PATH=%~dp0\plugins
 start freeciv-mp-qt.exe %2 %3 %4 %5 %6 %7 %8 %9

Modified: branches/S2_6/win32/installer_msys2/freeciv-qt.cmd
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/win32/installer_msys2/freeciv-qt.cmd?rev=33614&r1=33613&r2=33614&view=diff
==============================================================================
--- branches/S2_6/win32/installer_msys2/freeciv-qt.cmd  (original)
+++ branches/S2_6/win32/installer_msys2/freeciv-qt.cmd  Tue Aug 16 08:45:32 2016
@@ -1,4 +1,4 @@
 @echo off
 if %1 NEQ auto set LANG=%1
-set QT_PLUGIN_PATH=./plugins
+set QT_PLUGIN_PATH=%~dp0\plugins
 start freeciv-qt.exe %2 %3 %4 %5 %6 %7 %8 %9

Modified: branches/S2_6/win32/installer_msys2/freeciv-ruledit.cmd
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/win32/installer_msys2/freeciv-ruledit.cmd?rev=33614&r1=33613&r2=33614&view=diff
==============================================================================
--- branches/S2_6/win32/installer_msys2/freeciv-ruledit.cmd     (original)
+++ branches/S2_6/win32/installer_msys2/freeciv-ruledit.cmd     Tue Aug 16 
08:45:32 2016
@@ -1,4 +1,4 @@
 @echo off
 if %1 NEQ auto set LANG=%1
-set QT_PLUGIN_PATH=./plugins
+set QT_PLUGIN_PATH=%~dp0\plugins
 start freeciv-ruledit.exe %2 %3 %4 %5 %6 %7 %8 %9


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to