crt
This commit is contained in:
parent
21464b0035
commit
b155d8ad83
2 changed files with 2 additions and 4 deletions
1
msys.py
1
msys.py
|
@ -10,6 +10,7 @@ ARCHITECTURES_SUBSYSTEMS = {
|
||||||
}
|
}
|
||||||
CATALOG = '.files'
|
CATALOG = '.files'
|
||||||
CHARSET = 'u8'
|
CHARSET = 'u8'
|
||||||
|
CRT = 'mingw'
|
||||||
DISTRIBUTION = 'distrib'
|
DISTRIBUTION = 'distrib'
|
||||||
SIGNATURE = '.sig'
|
SIGNATURE = '.sig'
|
||||||
SUBSYSTEM = 'msys'
|
SUBSYSTEM = 'msys'
|
||||||
|
|
|
@ -7,9 +7,6 @@ import hypertext
|
||||||
import msys
|
import msys
|
||||||
|
|
||||||
|
|
||||||
MINGW = 'mingw'
|
|
||||||
|
|
||||||
|
|
||||||
class Remote:
|
class Remote:
|
||||||
def __init__(self, args):
|
def __init__(self, args):
|
||||||
self.location = args[arguments.REMOTE]
|
self.location = args[arguments.REMOTE]
|
||||||
|
@ -33,7 +30,7 @@ class Remote:
|
||||||
location = os.path.join(location, subsystem, architecture)
|
location = os.path.join(location, subsystem, architecture)
|
||||||
else:
|
else:
|
||||||
subsystem = f'{ss}{msys.ARCHITECTURES_BITS[architecture]}'
|
subsystem = f'{ss}{msys.ARCHITECTURES_BITS[architecture]}'
|
||||||
location = os.path.join(location, MINGW, subsystem)
|
location = os.path.join(location, msys.CRT, subsystem)
|
||||||
if subsystem in msys.ARCHITECTURES_SUBSYSTEMS[architecture]:
|
if subsystem in msys.ARCHITECTURES_SUBSYSTEMS[architecture]:
|
||||||
location = os.path.join(location,
|
location = os.path.join(location,
|
||||||
f'{subsystem}{msys.CATALOG}')
|
f'{subsystem}{msys.CATALOG}')
|
||||||
|
|
Loading…
Reference in a new issue