Changes between Initial Version and Version 1 of Ticket #64326, comment 4


Ignore:
Timestamp:
Jan 2, 2022, 12:31:34 AM (2 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #64326, comment 4

    initial v1  
    2929Correct; what you wrote is a syntax error. `set` accepts two arguments: the name of the variable followed by the value.
    3030
    31 MacPorts options (like `app.name`) are treated not as simple variables but as lists that accept any number of arguments. However some options (like `app.name`) for which a list of items doesn't make any sense instead treat it as a single value. `app.name some long name` technically sets the `app.name` option to a three item list ("some", "long", "name") but since a list doesn't make sense in this context, the app portgroup concatenates all the values into a single string separated by spaces.
     31MacPorts options (like `app.name`) are treated not as simple variables but as lists with an arbitrary number of elements. However some options (like `app.name`) for which a list of items doesn't make any sense instead treat it as a single value. `app.name some long name` technically sets the `app.name` option to a three item list ("some", "long", "name") but since a list doesn't make sense in this context, the app portgroup concatenates all the values into a single string separated by spaces.
    3232
    3333> {{{