You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-04-13 14:42:51 -07:00
patchupdate.py: Always change directory before running $(PATCH), simplifies using other patch commands.
This commit is contained in:
6
debian/tools/Makefile.in
vendored
6
debian/tools/Makefile.in
vendored
@@ -3,7 +3,11 @@
|
||||
#
|
||||
|
||||
CURDIR ?= ${{.CURDIR}}
|
||||
PATCH := $(CURDIR)/../debian/tools/gitapply.sh -d $(DESTDIR)
|
||||
PATCH := $(CURDIR)/../debian/tools/gitapply.sh
|
||||
|
||||
APPLY_PATCH = \
|
||||
@echo "Applying $(1)"; \
|
||||
cd $(DESTDIR) && $(PATCH) < $(CURDIR)/$(1)
|
||||
|
||||
PATCHLIST := {patchlist}
|
||||
|
||||
|
2
debian/tools/patchupdate.py
vendored
2
debian/tools/patchupdate.py
vendored
@@ -452,7 +452,7 @@ def generate_makefile(all_patches, fp):
|
||||
depends = " ".join([""] + ["%s.ok" % all_patches[d].name for d in patch.depends]) if len(patch.depends) else ""
|
||||
fp.write("%s.ok:%s\n" % (patch.name, depends))
|
||||
for f in patch.files:
|
||||
fp.write("\t$(PATCH) < %s\n" % os.path.join(patch.name, f))
|
||||
fp.write("\t$(call APPLY_PATCH,%s)\n" % os.path.join(patch.name, f))
|
||||
|
||||
# Create *.ok file (used to generate patchlist)
|
||||
if len(patch.authors):
|
||||
|
Reference in New Issue
Block a user