2
0
mirror of https://frontier.innolan.net/github/amigaos-cross-toolchain6.git synced 2024-10-19 10:29:55 +00:00

Use submodules instead of cloned repositories.

This commit is contained in:
Krystian Bacławski
2016-10-02 12:41:41 +02:00
parent 7d4e0c7ff8
commit 1f6d5c3898
7 changed files with 49 additions and 107 deletions

View File

@ -391,7 +391,8 @@ def fetch(name, url):
@recipe('unpack', 1)
def unpack(name, work_dir='{sources}', top_dir=None, dst_dir=None):
try:
src = glob(path.join('{archives}', name) + '*')[0]
src = (glob(path.join('{archives}', name) + '*') +
glob(path.join('{submodules}', name) + '*'))[0]
except IndexError:
panic('Missing files for "%s".', name)