aboutsummaryrefslogtreecommitdiffstats
path: root/travis
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-06-23 23:26:08 +0200
committerTristan Darricau <github@nicofuma.fr>2014-07-31 14:20:37 +0200
commit30e13a429c894d5f1f31510d104043191ed3d1a3 (patch)
tree07e8442ee176680c89f28c63c16c34d698882e10 /travis
parentf394f55fe27249bdb62e4e446b4974f425ffc3b6 (diff)
downloadforums-30e13a429c894d5f1f31510d104043191ed3d1a3.tar
forums-30e13a429c894d5f1f31510d104043191ed3d1a3.tar.gz
forums-30e13a429c894d5f1f31510d104043191ed3d1a3.tar.bz2
forums-30e13a429c894d5f1f31510d104043191ed3d1a3.tar.xz
forums-30e13a429c894d5f1f31510d104043191ed3d1a3.zip
[ticket/12693] Check if the are executable and not if they are 644
PHPBB3-12693
Diffstat (limited to 'travis')
-rwxr-xr-xtravis/check-executable-files.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/travis/check-executable-files.sh b/travis/check-executable-files.sh
index 99562d8925..78a0285f4e 100755
--- a/travis/check-executable-files.sh
+++ b/travis/check-executable-files.sh
@@ -38,15 +38,19 @@ then
-name 'composer.phar' \
')' \
-a '(' \
- -type f -a \
- -not -perm 644 \
+ '(' \
+ -type f -a \
+ -perm +111 \
+ ')' -o \
+ -not -perm +600 \
')' \
')' \
)
if [ "$executables_files" != '' ]
then
- echo "$executables_files MUST have the right 644.";
+ ls -la $executables_files
+ echo "$executables_files MUST NOT be executable.";
exit 1;
fi
fi