diff options
| author | toonn <toonn@toonn.io> | 2022-03-31 15:27:39 +0200 |
|---|---|---|
| committer | toonn <toonn@toonn.io> | 2022-03-31 15:27:39 +0200 |
| commit | 261b73652131421cd562873191060b02b56db1fe (patch) | |
| tree | 0ffea3db762888c3c59de0282d538ebb6fbb1699 /pkgs/development/python-modules/python-mapnik | |
| parent | f31d9457551315abad6174c08646e39e09f8db70 (diff) | |
desktopToDarwinBundle: Implement %F and %U Exec field codes
Similar to the implementation of the `%f` and `%u` field codes. In this
case the amount of arguments passed poses no problem but the position
could, at least in theory.
This finishes the implementation of all the non-deprecated field codes.
As a part of that, repetitions of field codes are left alone. Originally
all field codes were removed. Now we replace only the first occurence.
This is correct for at least `%f`, `%u`, `%F` and `%U` because at most
one of them is permitted.
Shortcomings:
1. We replace `%[cfFikuU]` patterns one at a time. This means if the
right field code appears as part of the rest of the `Exec` field or
in a field code that was substituted earlier.
2. If any field code is repeated, only the first occurence is
substituted.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik')
0 files changed, 0 insertions, 0 deletions
