mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/12693] Force the composer.phar to be executable
PHPBB3-12693
This commit is contained in:
parent
5739a3da8f
commit
92106d52d0
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue