[MacPorts] #53038: nvm @0.32.1: New port submission

MacPorts noreply at macports.org
Fri Dec 9 19:33:01 CET 2016

#53038: nvm @0.32.1: New port submission
  Reporter:  coditect    |      Owner:
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  nvm         |

Comment (by ryandesign):

 Replying to [comment:1 ryandesign]:
 > Is there a specific reason why you wrote code to write a file? Usually,
 we put such files in the files directory and just copy them.

 I see you use some variables in the script. Typically, we handle that by
 putting a `@PLACEHOLDER@` in the file in the files directory, and then
 after you copy it to the right place, you can use `reinplace` to replace
 the placeholder with the real value.

 I also see the script runs nvm using `nvm $@`. That won't work for
 arguments containing spaces. You need `nvm "$@"`.

Ticket URL: <https://trac.macports.org/ticket/53038#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list