Fixed rule that fixes permissions of source-files
authorIOhannes m zmölnig <zmoelnig@umlautQ.umlaeute.mur.at>
Mon, 2 May 2016 19:30:58 +0000 (21:30 +0200)
committerIOhannes m zmölnig <zmoelnig@umlautQ.umlaeute.mur.at>
Mon, 2 May 2016 19:30:58 +0000 (21:30 +0200)
debian/rules

index ea431926a2d202dc6aa1a7a1b3e4a56e01fcef16..03e593bd4f34066174de01560bd680dd228f24ac 100755 (executable)
@@ -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