moose-team / friends

:tv: P2P chat powered by the web.
http://moose-team.github.io/friends/
MIT License
3.17k stars 341 forks source link

use set command to override $HOME in rebuild-leveldb script (windows compat) #85

Closed junosuarez closed 9 years ago

junosuarez commented 9 years ago

Windows cmd shell cannot set environment variables with the same syntax as bash; it requires the set command. However, set is cross platform, so lets use that.

This patch makes npm run rebuild-leveldb on my Windows 8 x64 machine, and still works great in bash.

ungoldman commented 9 years ago

A most reasonable proposition!