[ticket/12693] Force the composer.phar to be executable

PHPBB3-12693
This commit is contained in:
Tristan Darricau 2014-07-30 20:47:39 +02:00
parent 5739a3da8f
commit 92106d52d0

View file

@ -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