Permalink
Browse files

[fix] Correct TEMP path

  • Loading branch information...
1 parent ff9b3de commit 98cb1faf965471b5674e97e1fce5b055087deb2a @mmalecki mmalecki committed Oct 11, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/haibu/plugins/useraccounts.js
@@ -40,8 +40,8 @@ haibu.getSpawnOptions = function getSpawnOptions(target) {
var options = _spawnOptions.apply(this, arguments);
options.env.USER = haibu.config.get('useraccounts:prefix') + target.user;
options.env.HOME = path.join(haibu.config.get('directories:apps'), target.user);
- options.env.TEMP = path.join(options.env.HOME, '.tmp');
- options.env.TMPDIR = path.join(options.env.HOME, '.tmp');
+ options.env.TEMP = path.join(options.env.HOME, target.name, '.tmp');
+ options.env.TMPDIR = path.join(options.env.HOME, target.name, '.tmp');
return options;
}

0 comments on commit 98cb1fa

Please sign in to comment.