mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-09-13 09:17:20 -07:00
Output the progress of the patching process.
This commit is contained in:
parent
39fa530c33
commit
4a69f63a78
@ -2,7 +2,9 @@ install:
|
||||
# Apply our patches to Wine
|
||||
for DIR in $$(find $(CURDIR) -type d | sort); do \
|
||||
for FILE in $$(ls $$DIR | sort | grep '\.patch$$'); do \
|
||||
patch -d $(DESTDIR) -N -p0 --strip=1 < $$DIR/$$FILE || exit 1; \
|
||||
SHORTNAME=$$(echo "$$DIR/$$FILE" | sed 's|$(CURDIR)|\.|g' ); \
|
||||
printf "Applying patch '$$SHORTNAME'...\n"; \
|
||||
patch -d $(DESTDIR) -N -p0 --strip=1 < $$DIR/$$FILE || cat || exit 1; \
|
||||
done \
|
||||
done
|
||||
|
||||
@ -16,6 +18,8 @@ uninstall:
|
||||
# Remove our patches from Wine
|
||||
for DIR in $$(find $(CURDIR) -type d | sort -r); do \
|
||||
for FILE in $$(ls $$DIR | sort -r | grep '\.patch$$'); do \
|
||||
SHORTNAME=$$(echo "$$DIR/$$FILE" | sed 's|$(CURDIR)|\.|g' ); \
|
||||
printf "Reversing patch '$$SHORTNAME'...\n"; \
|
||||
patch -d $(DESTDIR) -R -N -p0 --strip=1 < $$DIR/$$FILE || exit 1; \
|
||||
done \
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user