Fix mistake in the rules file causing patches to not be applied.

This commit is contained in:
Erich E. Hoover 2013-12-07 10:32:24 -07:00
parent 28bbb866f2
commit 2d7390de4b

4
debian/rules vendored
View File

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