diff options
| author | Linus Heckemann <git@sphalerite.org> | 2024-09-29 18:37:00 +0200 |
|---|---|---|
| committer | Linus Heckemann <git@sphalerite.org> | 2024-10-21 13:13:42 +0200 |
| commit | 9767bb9bf1e6beaf4169e55963d7f44c637d4d22 (patch) | |
| tree | 859d65bcb1ec511a6eaf08f7b190384d32b30689 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | d4d77ce35015cf080951b070766050d8bdeb836b (diff) | |
stdenv/setup: make substituteInPlace require actual files
I've often run into substituteInPlace doing nothing when I invoked it
wrong, like:
substituteInPlace --replace-fail from to file.txt
The substitute function would pass file.txt on to substituteStream,
which complain about the extraneous argument. However, if no files are
passed, substitute is never called and substituteInPlace silently does
nothing.
It would be more annoying to make substituteInPlace accept file
arguments anywhere (since it would need to understand the arguments to
substituteStream), so let's error on this incorrect usage instead.
Change-Id: Ib2daad6f49bbe516a273a35d7f2a31fc42fd053c
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
