bugfix:remove duplicate files in src list before DefineGroup
This commit is contained in:
parent
1ea5135a28
commit
762427bedc
|
@ -626,6 +626,8 @@ def DefineGroup(name, src, depend, **parameters):
|
||||||
group['name'] = name
|
group['name'] = name
|
||||||
group['path'] = group_path
|
group['path'] = group_path
|
||||||
if type(src) == type([]):
|
if type(src) == type([]):
|
||||||
|
# remove duplicate elements from list
|
||||||
|
src = list(set(src))
|
||||||
group['src'] = File(src)
|
group['src'] = File(src)
|
||||||
else:
|
else:
|
||||||
group['src'] = src
|
group['src'] = src
|
||||||
|
|
Loading…
Reference in New Issue