Browse files

Merge branch 'wininstall' into winbin

  • Loading branch information...
2 parents 005b103 + 3e54717 commit 55b85ddeb99f132f365881d6dd1bf363930a67e4 @deanlandolt deanlandolt committed Sep 6, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/utils/mkdir-p.js
View
3 lib/utils/mkdir-p.js
@@ -25,8 +25,7 @@ function mkdir (ensure, mode, uid, gid, cb_) {
}
}
- ensure = ensure.replace(/\/+$/, '')
- if (ensure.charAt(0) !== "/") ensure = path.join(process.cwd(), ensure)
+ ensure = path.resolve(process.cwd(), ensure)
if (mkdirCache.hasOwnProperty(ensure)) {
return mkdirCache[ensure].push(cb_)

0 comments on commit 55b85dd

Please sign in to comment.