path/subsystem
This commit is contained in:
parent
e9e6994c62
commit
bb36a79cbf
4 changed files with 13 additions and 15 deletions
11
msys.py
11
msys.py
|
@ -4,7 +4,6 @@ ARCHIVE = '.tar.xz'
|
|||
ARCHITECTURE = 'x86_64'
|
||||
CATALOG = '.files'
|
||||
CHARSET = 'u8'
|
||||
CRT = 'mingw'
|
||||
DISTRIBUTION = 'distrib'
|
||||
REPOSITORY = 'https://repo.msys2.org'
|
||||
SIGNATURE = '.sig'
|
||||
|
@ -26,16 +25,6 @@ def get_distribution(architecture):
|
|||
return os.path.join(DISTRIBUTION, architecture.name)
|
||||
|
||||
|
||||
def get_subsystem(architecture, subsystem):
|
||||
list = []
|
||||
if subsystem != SUBSYSTEM:
|
||||
list.append(CRT)
|
||||
list.append(subsystem)
|
||||
if subsystem == SUBSYSTEM:
|
||||
list.append(architecture.name)
|
||||
return os.sep.join(list)
|
||||
|
||||
|
||||
def get_subsystems(architecture, families):
|
||||
list = []
|
||||
for family in families:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue