Author: loonycyborg
Date: Fri Oct 17 00:37:34 2008
New Revision: 30218
URL: http://svn.gna.org/viewcvs/wesnoth?rev=30218&view=rev
Log:
Fixed breakage with scons 0.96.93
Modified:
trunk/scons/install.py
Modified: trunk/scons/install.py
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/scons/install.py?rev=30218&r1=30217&r2=30218&view=diff
==============================================================================
--- trunk/scons/install.py (original)
+++ trunk/scons/install.py Fri Oct 17 00:37:34 2008
@@ -71,7 +71,7 @@
def InstallData(env, datadir, component, source, subdir = ""):
installdir = Dir(env.subst(os.path.join(env["destdir"],
env[datadir].lstrip("/"), subdir)))
- sources = map(str, Flatten(env.subst(source)))
+ sources = map(str, Flatten([env.subst(source)]))
dirs = []
for source in sources:
if os.path.exists(source):
@@ -80,7 +80,7 @@
else:
dirs.append(Dir(source))
if dirs:
- install = env.InstallFiltered(installdir, dirs)
+ install = env.InstallFiltered(installdir, Dir(dirs))
AlwaysBuild(install)
env.Alias("install-" + component, install)
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits