From 3f5059ae508b70e72784b47ec5dea85fad0b4fae Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 13 Dec 2018 10:12:53 -0200 Subject: [PATCH] hooks/post-install: fix find for executable files, use GNU -executable --- common/hooks/post-install/10-pkglint-devel-paths.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/hooks/post-install/10-pkglint-devel-paths.sh b/common/hooks/post-install/10-pkglint-devel-paths.sh index df32f4b1ea8..1866ea71000 100644 --- a/common/hooks/post-install/10-pkglint-devel-paths.sh +++ b/common/hooks/post-install/10-pkglint-devel-paths.sh @@ -62,7 +62,7 @@ hook() { fi if [ -d $PKGDESTDIR/usr/bin ]; then - for x in $(find $PKGDESTDIR/usr/bin -type f -perm +111 -iname '*-config'); do + for x in $(find $PKGDESTDIR/usr/bin -type f -executable -iname '*-config'); do msg_warn "${x#$PKGDESTDIR\/} should be in -devel package\n" done fi