diff options
author | isaacs <i@izs.me> | 2010-08-11 03:24:53 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-08-11 03:24:53 +0400 |
commit | c9bbc269fba74116f18ca01c3af6126721f8ea10 (patch) | |
tree | 173672645e007712b831039e06d83f3f0f9a3d8a /lib | |
parent | f19ad8ec292b3f00c9fd7d3cde5f396942769f7a (diff) |
don't fail if the node-waf was not explicit
Diffstat (limited to 'lib')
-rw-r--r-- | lib/utils/read-json.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/utils/read-json.js b/lib/utils/read-json.js index 7e2457fb8..daf6edf1f 100644 --- a/lib/utils/read-json.js +++ b/lib/utils/read-json.js @@ -85,7 +85,8 @@ function processObject (opts, cb) { return function (er, json) { if (opts.wscript) { var scripts = json.scripts = json.scripts || {} if (!scripts.install && !scripts.preinstall) { - scripts.preinstall = "node-waf configure build" + // don't fail if it was unexpected, just try. + scripts.preinstall = "node-waf configure build || true" } } |