[ticket/12693] Fix the query for bin/*

PHPBB3-12693
This commit is contained in:
Tristan Darricau 2014-06-24 19:46:33 +02:00
parent ffcc1e9d94
commit 6081175857

View file

@ -25,7 +25,7 @@ then
files_skipped="-name composer.phar"
# Files which have to be executable
executable_files="-path ${path}bin/*"
executable_files="-path ${path}bin/\*"
incorect_files=$( \
find ${path} \
@ -45,7 +45,7 @@ then
'(' \
${executable_files} \
')' -a \
-not -perm -100 \
-not -perm +100 \
')' -o \
'(' \
-not '(' \