mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 18:11:47 +02:00
[ticket/12693] Force the composer.phar to be executable
PHPBB3-12693
This commit is contained in:
@@ -23,12 +23,12 @@ then
|
|||||||
directories_skipped="-path ${path}develop -o -path ${path}vendor"
|
directories_skipped="-path ${path}develop -o -path ${path}vendor"
|
||||||
|
|
||||||
# Files to skip
|
# Files to skip
|
||||||
files_skipped="-name composer.phar"
|
files_skipped=""
|
||||||
|
|
||||||
# Files which have to be executable
|
# 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} \
|
find ${path} \
|
||||||
'(' \
|
'(' \
|
||||||
'(' \
|
'(' \
|
||||||
@@ -58,9 +58,9 @@ then
|
|||||||
')' \
|
')' \
|
||||||
)
|
)
|
||||||
|
|
||||||
if [ "${incorect_files}" != '' ]
|
if [ "${incorrect_files}" != '' ]
|
||||||
then
|
then
|
||||||
ls -la ${incorect_files}
|
ls -la ${incorrect_files}
|
||||||
echo "does not have the proper permissions.";
|
echo "does not have the proper permissions.";
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user