jedi4ever/veewee — pull request #216 by mbbx6spp (2012-01-30 22:21:12+00:00)
Title: Allow users to set VEEWEE_DIR env var to override

Currently Veewee expects a directory structure to exist under the present working directory (PWD), but this is not how everyone would like to structure their project in their project root directory.

This is the simplest fix for those of us that wish to have our base box definitions under a subdirectory by setting `VEEWEE_DIR` environment variable to taste. I verified locally (by `rake install`, setting `VEEWEE_DIR` to a subdirectory with definitions dir and was able to run `vagrant basebox list` and related commands as expected).

I am open to adding unit tests for this, but I didn't find a test directory already existing. Let me know where to add my tests and I will do so then I can rebase/squash/force-push back for your to review and hopefully merge in.