only consider substituted files in construction of patches. reverse order of found files for patch, as shared goes first, so that virtspecific patch file overrides shared

This commit is contained in:
Manuel Amador (Rudd-O) 2010-09-01 14:38:57 -07:00
parent b670b7f656
commit 985ff79f18
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ bld.substitute("*/**",name="patchsubst")
for virttech in Utils.to_list(bld.path.ant_glob("*",dir=True)):
if virttech in ["shared","wscript_build"]: continue
patchfiles = bld.path.ant_glob('%s/** shared/**'%virttech,src=True,bld=True,dir=False,flat=True)
patchfiles = bld.path.ant_glob('shared/** %s/**'%virttech,src=False,bld=True,dir=False,flat=True)
tgen = bld(
features = 'tar',#Utils.tar_up,
source = patchfiles,