diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2023-06-29 15:27:40 +0800 |
|---|---|---|
| committer | Jeffery To <jeffery.to@gmail.com> | 2023-09-05 12:41:56 +0800 |
| commit | ae845a260c9d84f60499bed968a66a467679e199 (patch) | |
| tree | 6ca22af9a7e3016b4d3b7ee69226738de3502355 /lang/python/python3/files/python3-package-dev.mk | |
| parent | 14792007907dd1aa5bcd16dca03f4df551b60b6c (diff) | |
python: Rework filespec install script
* Support wildcards in install (`+`) paths
* Add fourth parameter to set directory permissions
If file permissions are given (third parameter), these will now apply
to files only.
* Add non-recursive set permissions command (`==`)
* Be more strict about filespec format
Blank lines and lines starting with `#` will be ignored. Other errors
(unknown command, missing path parameter, etc.) will cause the script
to exit.
* Be more strict about ensuring paths exist for all commands
* Avoid spawning subshells
This also removes outdated filespec paths in the python3 package; these
paths delete files that are no longer present.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 2ffb87726b93ffd73a5291d6db1bc3d13fbcde17)
Diffstat (limited to 'lang/python/python3/files/python3-package-dev.mk')
0 files changed, 0 insertions, 0 deletions
