From 1f76f7faecd0308738e51cab928c4d48059d8eaa Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Sat, 18 Feb 2023 23:52:33 -0600 Subject: [PATCH] patchinstall.py: Allow specifying DESTDIR= as an argument. --- staging/patchinstall.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/staging/patchinstall.py b/staging/patchinstall.py index 8d59b70f..0dd0131e 100755 --- a/staging/patchinstall.py +++ b/staging/patchinstall.py @@ -214,7 +214,11 @@ def main(): print(f.read().rstrip()); sys.exit(0) - for a in args: add_patchset(patchlist, a) + for a in args: + if a.startswith('DESTDIR='): + winedir = a[8:] + else: + add_patchset(patchlist, a) for p in excluded: del patchlist[p]