openbsd-ports/lang/node/patches/patch-deps_npm_lib_npm_js
abieber 2ebb59e099 - update node to 0.8.9
OK jasper@
2012-09-14 22:40:20 +00:00

13 lines
441 B
Plaintext

$OpenBSD: patch-deps_npm_lib_npm_js,v 1.2 2012/09/14 22:40:20 abieber Exp $
--- deps/npm/lib/npm.js.orig Fri Sep 14 14:31:07 2012
+++ deps/npm/lib/npm.js Fri Sep 14 14:31:23 2012
@@ -323,7 +323,7 @@ function load (npm, cli, cb) {
}
}
- var umask = npm.config.get("umask")
+ var umask = 0022
npm.modes = { exec: 0777 & (~umask)
, file: 0666 & (~umask)
, umask: umask }