From ca7bbf162570209656d0cd436ef45b33ce6bf279 Mon Sep 17 00:00:00 2001 From: Rostislav Wolny Date: Tue, 30 Jul 2019 15:08:57 +0200 Subject: [PATCH] Remove redundant index.php from doctrine mapping during build [MAILPOET-2233] --- build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.sh b/build.sh index 5120e5356e..39eb84facf 100755 --- a/build.sh +++ b/build.sh @@ -142,6 +142,8 @@ cp uninstall.php $plugin_name # Add index files if they don't exist to all folders echo '[BUILD] Adding index files to all project folders' find $plugin_name -type d -exec touch {}/index.php \; +# Remove second index.php from Doctrine directory +rm -f $plugin_name/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/Mapping/index.php # Zip final release. echo '[BUILD] Creating final release zip'