caolan/jam — pull request #82 by mmikulicic (2012-10-11 12:29:48+00:00)
Title: Added support for JAMRC environmental variable

Added support for JAMRC environmental variable, that overrides the location of the .jamrc file.

Scenario:

I have two apps with a number of deps specified in their package.json.
Each of these two apps depends on a specific repository, so I would like they don't use a shared ~/.jamrc, however I don't want to create a specific user for each of these two apps.

`jam install` and `jam upgrade` have support for specifying the repository on the command line, but only one repository.

I would like to be able to run:

```sh
JAMRC=.jamrc jam upgrade
```

in each app and make sure they use the correct repository list.