Skip to content

Nested directories not copied correctly when the source in modman ends in a glob #7

@thizzle

Description

@thizzle

When a module has a modman file with a glob source pattern (such as one/*), the directory structure inside is not copied to the target correctly.

Please refer to this demo project I've setup: https://github.com/thizzle/modgit-copyissue-demo
The modman file in that module has a single line:
one/* one/

I would expect the file one/two/file.txt to be copied to one/two/file.txt in my project after cloning this module with modgit.
Instead, the directory structure inside the one directory is flattened so that the file is copied to one/file.txt.

Tharsan

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