Use path.resolve() everywhere.

This commit is contained in:
Nathan Rajlich 2012-02-27 18:15:20 -08:00
parent a32385a413
commit 80f857a470
5 changed files with 10 additions and 10 deletions

View file

@ -13,7 +13,7 @@ var fs = require('fs')
function list (gyp, args, callback) {
// TODO: Make ~/.node-gyp configurable
var nodeGypDir = path.join(process.env.HOME, '.node-gyp')
var nodeGypDir = path.resolve(process.env.HOME, '.node-gyp')
gyp.verbose('using node-gyp dir', nodeGypDir)