From 2d7390de4b8e4dbb84c4c57413c02edad62e4b9e Mon Sep 17 00:00:00 2001 From: "Erich E. Hoover" Date: Sat, 7 Dec 2013 10:32:24 -0700 Subject: [PATCH] Fix mistake in the rules file causing patches to not be applied. --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 6bc93b0c..05628bee 100755 --- a/debian/rules +++ b/debian/rules @@ -64,8 +64,8 @@ ifneq "$(wildcard /usr/share/misc/config.guess)" "" endif # Apply our patches to Wine - for DIR in $(find $(CURDIR)/patches/ -type d | sort); do \ - for FILE in $(ls $$DIR | sort); do \ + for DIR in $$(find $(CURDIR)/patches/ -type d | sort); do \ + for FILE in $$(ls $$DIR | sort | grep '\.patch$$'); do \ patch -N -p0 --strip=1 < $$DIR/$$FILE || exit 1; \ done \ done