aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--travis/check-executable-files.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/travis/check-executable-files.sh b/travis/check-executable-files.sh
index 8a35634f15..a5403667f4 100644
--- a/travis/check-executable-files.sh
+++ b/travis/check-executable-files.sh
@@ -37,15 +37,15 @@ then
-name 'composer.phar' \
')' \
-a '(' \
- -perm 755 -a \
- -type f \
+ -type f -a \
+ -not -perm 644 \
')' \
')' \
)
if [ "$executables_files" != '' ]
then
- echo "$executables_files MUST NOT be executable.";
+ echo "$executables_files MUST have the right 644.";
exit 1;
fi
fi