~comcloudway/builds.sr.ht

0fb64f8bce8b2994a231d31c092d4443bc8ffd94 — Éloi Rivard 5 years ago f0e43d5
Define 'make' program via an environment variable
1 files changed, 2 insertions(+), 1 deletions(-)

M setup.py
M setup.py => setup.py +2 -1
@@ 28,7 28,8 @@ else:
            "The $SRHT_PATH environment variable points to an invalid "
            "directory: {}".format(srht_path))

subp = subprocess.run(["make", "SRHT_PATH=" + srht_path])
make = os.environ.get("MAKE", "make")
subp = subprocess.run([make, "SRHT_PATH=" + srht_path])
if subp.returncode != 0:
    sys.exit(subp.returncode)