Author: cazfi
Date: Tue Aug 16 08:45:27 2016
New Revision: 33613

URL: http://svn.gna.org/viewcvs/freeciv?rev=33613&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:
    trunk/windows/installer/freeciv-mp-qt.cmd
    trunk/windows/installer/freeciv-qt.cmd
    trunk/windows/installer/freeciv-ruledit.cmd
    trunk/windows/installer_msys2/freeciv-mp-qt.cmd
    trunk/windows/installer_msys2/freeciv-qt.cmd
    trunk/windows/installer_msys2/freeciv-ruledit.cmd

Modified: trunk/windows/installer/freeciv-mp-qt.cmd
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/windows/installer/freeciv-mp-qt.cmd?rev=33613&r1=33612&r2=33613&view=diff
==============================================================================
--- trunk/windows/installer/freeciv-mp-qt.cmd   (original)
+++ trunk/windows/installer/freeciv-mp-qt.cmd   Tue Aug 16 08:45:27 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: trunk/windows/installer/freeciv-qt.cmd
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/windows/installer/freeciv-qt.cmd?rev=33613&r1=33612&r2=33613&view=diff
==============================================================================
--- trunk/windows/installer/freeciv-qt.cmd      (original)
+++ trunk/windows/installer/freeciv-qt.cmd      Tue Aug 16 08:45:27 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: trunk/windows/installer/freeciv-ruledit.cmd
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/windows/installer/freeciv-ruledit.cmd?rev=33613&r1=33612&r2=33613&view=diff
==============================================================================
--- trunk/windows/installer/freeciv-ruledit.cmd (original)
+++ trunk/windows/installer/freeciv-ruledit.cmd Tue Aug 16 08:45:27 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: trunk/windows/installer_msys2/freeciv-mp-qt.cmd
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/windows/installer_msys2/freeciv-mp-qt.cmd?rev=33613&r1=33612&r2=33613&view=diff
==============================================================================
--- trunk/windows/installer_msys2/freeciv-mp-qt.cmd     (original)
+++ trunk/windows/installer_msys2/freeciv-mp-qt.cmd     Tue Aug 16 08:45:27 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: trunk/windows/installer_msys2/freeciv-qt.cmd
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/windows/installer_msys2/freeciv-qt.cmd?rev=33613&r1=33612&r2=33613&view=diff
==============================================================================
--- trunk/windows/installer_msys2/freeciv-qt.cmd        (original)
+++ trunk/windows/installer_msys2/freeciv-qt.cmd        Tue Aug 16 08:45:27 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: trunk/windows/installer_msys2/freeciv-ruledit.cmd
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/windows/installer_msys2/freeciv-ruledit.cmd?rev=33613&r1=33612&r2=33613&view=diff
==============================================================================
--- trunk/windows/installer_msys2/freeciv-ruledit.cmd   (original)
+++ trunk/windows/installer_msys2/freeciv-ruledit.cmd   Tue Aug 16 08:45:27 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