Skip to content

Symlinks minor problem when rake is run more than once #25

@obxhdx

Description

@obxhdx

It happened to me that I ran 'rake' twice, and when I took a look at 'snippets' dir content, every folder in there had another symlink to the same location of its parent. e.g.:

After the first 'rake', the snippets folder looked like:

~/.vim/bundle/snipmate/snippets/ruby/foo.snippet
~/.vim/bundle/snipmate/snippets/ruby/bar.snippet
...

But After the second 'rake', the snippets folder looked like:

~/.vim/bundle/snipmate/snippets/ruby/ruby
~/.vim/bundle/snipmate/snippets/ruby/foo.snippet
~/.vim/bundle/snipmate/snippets/ruby/bar.snippet
...

Where this first entry ("ruby") is actually a symlink to its parent.

I commited a change to my fork that fixed this issue for me (53f3a7f). I can pull it if you think it worths.

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