mde/utilities — pull request #1 by vmeurisse (2012-08-30 07:35:16+00:00)
Title: jake.FileList fails with absolute path

Hello,

I tried to use `jake.FileList` with an absolute directory and it failed when jake tried to read folders that are only accessible to root.
The reason is that `file.basedir` returns the highest possible folder instead of the deepest one. Eg. `file.basedir('/home/username/project/**')` returns `/` while it should return `/home/username/project/` which makes jake walks my entire hard-drive instead of just my project folder.

A quick search show me no usage of this method outside of jake so I guess that changing it's behavior is not too problematic (and the method add no documentation anyway).

Regards