nodejs: Fix setup-hook addNodePath quoting

The argument to addNodePath previously wasn't being quoted, leading to
problems when the argument contains characters interpreted specially by
bash
main
Silvan Mosberger 2 years ago
parent f01213ea5c
commit e975c56501
  1. 2
      pkgs/development/web/nodejs/setup-hook.sh

@ -1,5 +1,5 @@
addNodePath () {
addToSearchPath NODE_PATH $1/lib/node_modules
addToSearchPath NODE_PATH "$1/lib/node_modules"
}
addEnvHooks "$hostOffset" addNodePath

Loading…
Cancel
Save