patchinstall.py: Allow specifying DESTDIR= as an argument.

This commit is contained in:
Zebediah Figura 2023-02-18 23:52:33 -06:00
parent 4d98c8839b
commit 1f76f7faec

View File

@ -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]