diff options
author | Wink Saville <wink@saville.com> | 2015-06-03 08:05:17 -0700 |
---|---|---|
committer | Wink Saville <wink@saville.com> | 2015-06-03 08:05:17 -0700 |
commit | 4c426ef1d4c1399feb170447ca3090810ab3c02e (patch) | |
tree | d824eb1ac7f677979c1fce3ac984db48f210bca3 /manifest_xml.py | |
parent | 472ce9f5fa61a953b9275cfe36b8b86f3dad5c73 (diff) | |
download | git-repo-4c426ef1d4c1399feb170447ca3090810ab3c02e.tar.gz |
Teach _LinkFile._Link to handle globs.
This allows a project to use globs in the linkfile src attribute. When
a glob is used in the src the dest field must be a directory. Then
_LinkFile._Link(self) calls will create symbolic links in the dest
directory to all of the entries in the src as defined by the glob
specification.
Below all of the entries in master-configs/ will have symbolic links
in <root dir>/configs directory:
<project name="helloworld.git" path="apps/helloworld">
<linkfile src="master-configs/*" dest="configs"/>
</project>
Change-Id: Idfed8fa47c83d2ca6e2b8e867731b8e2f9e2eb47
Diffstat (limited to 'manifest_xml.py')
0 files changed, 0 insertions, 0 deletions