Github user kxepal commented on the pull request:
https://github.com/apache/couchdb-couch-plugins/pull/1#issuecomment-58776430
Tested on linux and it doesn't works: there is no "TMP" env variable there.
Your patch turn situation in reverse (: The proper solution should match both
of them. Hopefully, CouchDB ships with Mochiweb which has a [helper
function](https://github.com/mochi/mochiweb/blob/master/src/mochitemp.erl#L98)
- better reuse it instead.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---