~edwargix/git.sr.ht

4c07823f47065d393bf5dfd1d5838d6ddd079051 — Éloi Rivard 6 years ago 1c7eb14
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)