123456789101112131415 |
- $OpenBSD: patch-deps_npm_bin_node-gyp-bin_node-gyp,v 1.3 2016/01/29 20:12:04 abieber Exp $
- --- deps/npm/bin/node-gyp-bin/node-gyp.orig Wed Dec 23 09:53:37 2015
- +++ deps/npm/bin/node-gyp-bin/node-gyp Fri Jan 22 15:29:28 2016
- @@ -1,6 +1,5 @@
- #!/usr/bin/env sh
- -if [ "x$npm_config_node_gyp" = "x" ]; then
- - node "`dirname "$0"`/../../node_modules/node-gyp/bin/node-gyp.js" "$@"
- -else
- - "$npm_config_node_gyp" "$@"
- -fi
- +
- +# stop trying to be cute and just call node-gyp with the full path
- +
- +node ${LOCALBASE}/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js "$@"
|