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

Open
thizzle opened this Issue Dec 29, 2012 · 0 comments

Comments

Projects
None yet
1 participant

thizzle commented Dec 29, 2012

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment