Skip to content

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

Open
@medmek

Description

@medmek

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions