Author: elias
Date: Fri Oct 3 17:17:41 2008
New Revision: 29830
URL: http://svn.gna.org/viewcvs/wesnoth?rev=29830&view=rev
Log:
wmlunits: use data dir specified on command line instead of './data' to find
TeamColirizer
Modified:
trunk/data/tools/unit_tree/helpers.py
Modified: trunk/data/tools/unit_tree/helpers.py
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/unit_tree/helpers.py?rev=29830&r1=29829&r2=29830&view=diff
==============================================================================
--- trunk/data/tools/unit_tree/helpers.py (original)
+++ trunk/data/tools/unit_tree/helpers.py Fri Oct 3 17:17:41 2008
@@ -126,7 +126,7 @@
ipath, i, c, bases = self.images[iid]
if ipath and os.path.exists(ipath):
#shutil.copy2(ipath, opath)
- command = os.path.join("data",
+ command = os.path.join(self.datadir,
"tools/unit_tree/TeamColorizer") + " '%s' '%s'" % (
ipath, opath)
os.system(command)
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits