JuliaLang/julia — pull request #504 by nolta (2012-03-02 19:18:04+00:00)
Title: allow newlines in EnvHash values

EnvHash() crashes on several of my boxes

```
julia> EnvHash()
...
malformed environment entry: module=() { eval `/usr/bin/modulecmd bash $*`
}
```

because one of my environment variables contains a newline

```
$ python
>>> os.environ['module']
'() { eval `/usr/bin/modulecmd bash $*`\n}'
```