diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-07-30 20:47:39 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-07-31 14:20:46 +0200 |
commit | 92106d52d001e2085edb4443daf4b4c8aea27f92 (patch) | |
tree | c0978de995ef4969f5777d96f6ac8fb92711717e /travis | |
parent | [ticket/12693] All the files in bin/ must be executable (diff) | |
download | phpbb-92106d52d001e2085edb4443daf4b4c8aea27f92.tar.gz phpbb-92106d52d001e2085edb4443daf4b4c8aea27f92.tar.bz2 phpbb-92106d52d001e2085edb4443daf4b4c8aea27f92.zip |
[ticket/12693] Force the composer.phar to be executable
PHPBB3-12693
Diffstat (limited to 'travis')
-rwxr-xr-x | travis/check-executable-files.sh | 10 |
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 |