Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-06-13 09:58:47 +0400
committerisaacs <i@izs.me>2010-06-13 09:59:33 +0400
commit00b916c49f1f4b1704d087f0ad3bf8c689aae1d1 (patch)
treeb12603ac958bec1c63f667915bca6debcf889970 /scripts
parent2cabb324c3c5c00b5605711cde1685fbfed073dc (diff)
Update install script to check man path using the new mechanism
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install-docs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install-docs.js b/scripts/install-docs.js
index cbbd7b1db..c1415c72c 100644
--- a/scripts/install-docs.js
+++ b/scripts/install-docs.js
@@ -20,7 +20,7 @@ function dontPanic (er) {
log("probably still ok otherwise, though", "don't panic")
}
-exec("manpath", [], function (er, code, stdout, stderr) {
+exec("manpath", [], null, true, function (er, code, stdout, stderr) {
var manpath = er ? [] : stdout.trim().split(":")
if (manpath.indexOf(path.dirname(manTarget)) === -1) {
log("It seems " + manTarget + " might not be visible to man", "!")