diff options
Diffstat (limited to 'lib/build.js')
-rw-r--r-- | lib/build.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/build.js b/lib/build.js index 4c8f0059f..29c48aa0b 100644 --- a/lib/build.js +++ b/lib/build.js @@ -209,7 +209,7 @@ function linkMans (pkg, cb) { , manroot = npm.config.get("manroot") , pkgDir = path.join(npm.dir, pkg.name, pkg.version, "package") if (!man || !manroot) return cb() - exec("manpath", [], null, true, function (er, code, stdout, stderr) { + exec("manpath", [], null, false, function (er, code, stdout, stderr) { var manpath = er ? [] : stdout.trim().split(":") if (manpath.indexOf(manroot) === -1) { log.warn( "It seems " + manroot + " might not be visible to man\n" |