Remove Tools existence check

This commit is contained in:
Dennis Eichhorn 2018-03-30 09:10:56 +02:00
parent f7fa152aca
commit b5eb8c61e7

View File

@ -54,10 +54,7 @@ mkdir -p ${INSPECTION_PATH}/Test/Js
# Permission handling # Permission handling
chmod -R 777 ${ROOT_PATH} chmod -R 777 ${ROOT_PATH}
cd ${ROOT_PATH}
# Setup tools for inspection # Setup tools for inspection
if [ ! -d "$TOOLS_PATH" ]; then
mkdir -p ${TOOLS_PATH} mkdir -p ${TOOLS_PATH}
cd ${TOOLS_PATH} cd ${TOOLS_PATH}
@ -76,7 +73,6 @@ if [ ! -d "$TOOLS_PATH" ]; then
tar -zxvf compiler-latest.tar.gz tar -zxvf compiler-latest.tar.gz
chmod -R 777 ${TOOLS_PATH} chmod -R 777 ${TOOLS_PATH}
fi
cp ${ROOT_PATH}/composer.json ${TOOLS_PATH}/composer.json cp ${ROOT_PATH}/composer.json ${TOOLS_PATH}/composer.json
php ${TOOLS_PATH}/composer.phar install --working-dir=${ROOT_PATH}/ php ${TOOLS_PATH}/composer.phar install --working-dir=${ROOT_PATH}/