aboutsummaryrefslogtreecommitdiffstats
path: root/travis
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-07-30 20:47:39 +0200
committerTristan Darricau <github@nicofuma.fr>2014-07-31 14:20:46 +0200
commit92106d52d001e2085edb4443daf4b4c8aea27f92 (patch)
treec0978de995ef4969f5777d96f6ac8fb92711717e /travis
parent5739a3da8f9ecc0cf9cee87ba50c51d156ad9fe7 (diff)
downloadforums-92106d52d001e2085edb4443daf4b4c8aea27f92.tar
forums-92106d52d001e2085edb4443daf4b4c8aea27f92.tar.gz
forums-92106d52d001e2085edb4443daf4b4c8aea27f92.tar.bz2
forums-92106d52d001e2085edb4443daf4b4c8aea27f92.tar.xz
forums-92106d52d001e2085edb4443daf4b4c8aea27f92.zip
[ticket/12693] Force the composer.phar to be executable
PHPBB3-12693
Diffstat (limited to 'travis')
-rwxr-xr-xtravis/check-executable-files.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/travis/check-executable-files.sh b/travis/check-executable-files.sh
index 61468809b3..6f625a8cc7 100755
--- a/travis/check-executable-files.sh
+++ b/travis/check-executable-files.sh
@@ -23,12 +23,12 @@ then
directories_skipped="-path ${path}develop -o -path ${path}vendor"
# Files to skip
- files_skipped="-name composer.phar"
+ files_skipped=""
# Files which have to be executable
- executable_files="-path ${path}bin/*"
+ executable_files="-path ${path}bin/* -o -path ${path}composer.phar"
- incorect_files=$( \
+ incorrect_files=$( \
find ${path} \
'(' \
'(' \
@@ -58,9 +58,9 @@ then
')' \
)
- if [ "${incorect_files}" != '' ]
+ if [ "${incorrect_files}" != '' ]
then
- ls -la ${incorect_files}
+ ls -la ${incorrect_files}
echo "does not have the proper permissions.";
exit 1;
fi