Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting Magento Test Module only if "checkout_source_from: git" #233

Open
medmek opened this issue Apr 26, 2021 · 0 comments
Open

Deleting Magento Test Module only if "checkout_source_from: git" #233

medmek opened this issue Apr 26, 2021 · 0 comments

Comments

@medmek
Copy link

medmek commented Apr 26, 2021

Hello,
I'm not entirely sure but I think that Deleting TestModule directories in m_reinstall.sh should only be done in case of git as checkout source
In case of checkout_source_from: "composer" for example the magento2ce/app/code/Magento directory doesn't exist, because it's found in vendor directory. In this case I'm not sure it's useful to delete the TestModule directory anyway (?)
Thanks

magento_app_code_dir="${vagrant_dir}/magento2ce/app/code/Magento"

mkdir -p "$magento_app_code_dir"

cd "${magento_app_code_dir}"

status "Deleting TestModule directories"
ls | grep "TestModule" | xargs rm -rf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant