From b155d8ad838f57e7f5fd6131c8b6a0bcba727c95 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 10 Oct 2021 04:22:32 +0200 Subject: [PATCH] crt --- msys.py | 1 + remote.py | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/msys.py b/msys.py index 91a942e..b0a5db0 100644 --- a/msys.py +++ b/msys.py @@ -10,6 +10,7 @@ ARCHITECTURES_SUBSYSTEMS = { } CATALOG = '.files' CHARSET = 'u8' +CRT = 'mingw' DISTRIBUTION = 'distrib' SIGNATURE = '.sig' SUBSYSTEM = 'msys' diff --git a/remote.py b/remote.py index d90ad91..0adb8de 100644 --- a/remote.py +++ b/remote.py @@ -7,9 +7,6 @@ import hypertext import msys -MINGW = 'mingw' - - class Remote: def __init__(self, args): self.location = args[arguments.REMOTE] @@ -33,7 +30,7 @@ class Remote: location = os.path.join(location, subsystem, architecture) else: 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]: location = os.path.join(location, f'{subsystem}{msys.CATALOG}')