gmarik/Vundle.vim — pull request #390 by demands (2014-02-16 04:20:20+00:00)
Title: Ensure trailing slash when sending helptags command

I'm running vim `7.4` on Mac OS X `10.9.1`, and every time I run `BundleInstall` or `BundleUpdate`, it fails on the `helptags` step with:

```
> Error running :helptags /Users/demands/.vim/bundle/xxx/doc
```

I looked into it a bit, and it seems like this is a confluence of two bugs.

1. My version of vim is stripping the trailing slash from the input to a `resolve()` call, so `/Users/demands/.vim/bundle/xxx/doc/` becomes `/Users/demands/.vim/bundle/xxx/doc`.

2. My version of vim's `:helptags` command seems to be incapable of handling a path without a trailing slash. It spits out:
```
E150: Not a directory: /Users/me/.vim/bundle/xxx/doc
```

I'm not sure if anyone else is seeing this bug, though I'd be surprised if I was the only one.

Anyway, this pull request fixes it for me. I'd like to add a test for it, but I can't figure out how to run the tests for this project. Any pointers for me? Running `vim -u test/vimrc` spit out a bunch of errors.