From 7480c6e23b61e7cf4c935c5871a03ae284f3d88d Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 11 Feb 2012 15:02:28 +0000 Subject: make find statements handle paths with spaces in them svn path=/trunk/; revision=15959 --- packages/linux_make/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/linux_make/Makefile') diff --git a/packages/linux_make/Makefile b/packages/linux_make/Makefile index 696c0e5e..d2d60d11 100755 --- a/packages/linux_make/Makefile +++ b/packages/linux_make/Makefile @@ -175,9 +175,9 @@ deb: $(bindir) # sanitize permissions chmod -R go-w $(DESTDIR) chmod -R a+r $(DESTDIR) - find $(DESTDIR) -name \*.pd_linux | xargs chmod a-x - find $(DESTDIR) -name \*.pd | xargs chmod a-x - find $(DESTDIR) -type d | xargs chmod a+x + find $(DESTDIR) -name \*.pd_linux -print0 | xargs -0 chmod a-x + find $(DESTDIR) -name \*.pd -print0 | xargs -0 chmod a-x + find $(DESTDIR) -type d -print0 | xargs -0 chmod a+x fakeroot dpkg-deb --build $(DESTDIR) $(packages_src)/linux_make/$(PACKAGE_NAME).deb -- cgit v1.2.1