mirror of https://github.com/apache/cloudstack.git
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:
parent
b670b7f656
commit
985ff79f18
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue