[SCM] juce/master: Fixed rule that fixes permissions of source-files

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Mon May 2 19:40:09 UTC 2016


The following commit has been merged in the master branch:
commit 2736885998f1ef0dfdae302a0dc4aa17b16a18f0
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Mon May 2 21:30:58 2016 +0200

    Fixed rule that fixes permissions of source-files

diff --git a/debian/rules b/debian/rules
index ea43192..03e593b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -52,8 +52,10 @@ install/libjuce-dev::
 	install debian/extra/lv2-ttl-generator/generate-ttl.sh $(cdbs_curdestdir)/usr/lib/$(DEB_HOST_MULTIARCH)/juce/lv2-ttl-generator/generate-ttl.sh
 
 binary-post-install/juce-modules-source::
-	find $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/juce -type f -name "*.h" -or -name "*.cpp" \
-		-exec chmod 0644 {} +
+	find $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/juce \
+		-type f -executable \
+		'(' -name "*.h" -or -name "*.cpp" ')' \
+		-exec chmod -c 0644 {} +
 
 clean:: unpatch
 	rm -rf doxygen/doc

-- 
juce packaging



More information about the pkg-multimedia-commits mailing list