Changes between Initial Version and Version 1 of Ticket #64326, comment 4
- Timestamp:
- Jan 2, 2022, 12:31:34 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #64326, comment 4
initial v1 29 29 Correct; what you wrote is a syntax error. `set` accepts two arguments: the name of the variable followed by the value. 30 30 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.31 MacPorts 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. 32 32 33 33 > {{{