subsystems

This commit is contained in:
Marc Beninca 2021-10-10 03:52:31 +02:00 committed by Marc Beninca
parent 121441077a
commit 0eafef2c35
3 changed files with 6 additions and 4 deletions

View file

@ -4,6 +4,7 @@ import requests
import arguments
import catalog
import hypertext
import msys
ARCHITECTURES = ['x86_64', 'i686']
@ -20,7 +21,6 @@ CHARSET = 'u8'
DISTRIBUTION = 'distrib'
MINGW = 'mingw'
SIGNATURE = '.sig'
SUBSYSTEMS = ['msys', 'clang', 'mingw', 'ucrt']
class Remote:
@ -40,7 +40,7 @@ class Remote:
c[architecture] = {}
for ss in self.subsystems:
location = self.location
if ss == SUBSYSTEMS[0]:
if ss == msys.SUBSYSTEMS[0]:
subsystem = ss
location = os.path.join(location, subsystem, architecture)
else: