[Reproducible-commits] [cdbs] 39/41: class/pd: only run commands on *.pd_linux files

Mattia Rizzolo mattia at debian.org
Tue May 10 14:42:29 UTC 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch reproducible
in repository cdbs.

commit d23ec8750da3cda10c22f1d9d8852aaa37819307
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Thu Sep 3 10:11:54 2015 +0200

    class/pd: only run commands on *.pd_linux files
    
    not on symlinks!
    
    Signed-off-by: IOhannes m zmölnig <umlaeute at debian.org>
---
 1/class/pd.mk.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/1/class/pd.mk.in b/1/class/pd.mk.in
index ecdb3f7..66154a0 100644
--- a/1/class/pd.mk.in
+++ b/1/class/pd.mk.in
@@ -49,15 +49,15 @@ testsanity::
 $(patsubst %,binary-strip-IMPL/%,$(DEB_ALL_PACKAGES)) ::
 	$(if $(is_debug_package)$(filter nostrip,$(DEB_BUILD_OPTIONS)),\
 		,\
-		find "$(CURDIR)/debian/$(cdbs_curpkg)" -name "*.pd_linux" \
+		find "$(CURDIR)/debian/$(cdbs_curpkg)" -type f -name "*.pd_linux" \
 			-exec strip \
 				--remove-section=.comment \
 				--remove-section=.note \
 				--strip-unneeded {} +)
 $(patsubst %,binary-predeb-IMPL/%,$(DEB_ALL_PACKAGES)) ::
-	find "$(CURDIR)/debian/$(cdbs_curpkg)" -name "*.pd_linux" \
+	find "$(CURDIR)/debian/$(cdbs_curpkg)" -type f -name "*.pd_linux" \
 		-exec dpkg-shlibdeps -Tdebian/$(cdbs_curpkg).substvars {} +
-	find "$(CURDIR)/debian/$(cdbs_curpkg)" -name "*.pd_linux" \
+	find "$(CURDIR)/debian/$(cdbs_curpkg)" -type f -name "*.pd_linux" \
 		-exec chmod 0644 {} +
 
 #endif _cdbs_class_pd

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/cdbs.git



More information about the Reproducible-commits mailing list