Author: loonycyborg
Date: Fri Apr 17 18:08:05 2009
New Revision: 34984
URL: http://svn.gna.org/viewcvs/wesnoth?rev=34984&view=rev
Log:
scons wasn't installing locales and translations if those dirs didn't exist at
SConscript parse time. Fixed.
Modified:
trunk/scons/install.py
Modified: trunk/scons/install.py
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/scons/install.py?rev=34984&r1=34983&r2=34984&view=diff
==============================================================================
--- trunk/scons/install.py (original)
+++ trunk/scons/install.py Fri Apr 17 18:08:05 2009
@@ -88,11 +88,11 @@
sources = map(Entry, Flatten([source]))
dirs = []
for source in sources:
- if source.exists():
- if source.isfile():
+ if isinstance(source, SCons.Node.FS.Dir) or source.isdir():
+ dirs.append(source)
+ else:
+ if source.exists():
env.Alias("install-" + component, env.Install(installdir,
source))
- else:
- dirs.append(Dir(source))
if dirs:
if len(dirs) == 1:
install = env.InstallFiltered(installdir.path, dirs[0].path)
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits