summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorMinijackson <minijackson@riseup.net>2024-07-26 16:20:14 +0200
committerMinijackson <minijackson@riseup.net>2024-07-29 11:40:29 +0200
commit24655f78040b420c6af6103c714f2c052a533592 (patch)
treee05466629986a2e499795b24dd88b394c79fb9ae /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parentdf41014acf90809ff18c9bf600aa842ac07457e4 (diff)
patch-shebangs: don't patch shebangs with bash builtins
'command -v builtin' returns 'builtin', which doesn't suit us since we're looking for program in the given PATH. This could give us shebangs like this: #!builtin which is surprising. Switch to 'type -P command' which always returns a path, even if command is both a builtin and an executable (for example 'test'), or fail is 'command' is just a builtin.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions