Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 0c33882a943825845dde164b60900bf224b131cc
https://github.com/Perl/perl5/commit/0c33882a943825845dde164b60900bf224b131cc
Author: Bram <[email protected]>
Date: 2022-08-31 (Wed, 31 Aug 2022)
Changed paths:
M patchlevel.h
Log Message:
-----------
patchlevel.h: Adjust embedded script for detabify
patchlevel.h was detabified[^1] and tabs replaced with spaces.
It however contains an embedded perl script for updating the
`local_patches` list (in patchlevel.h).
This no longer worked because it used:
/\t,NULL/
(which no longer matches after the detabify)
Fix it by using `\s+` (and by capturing it and using it
as leading space in the added text).
Example of how to run it:
$ perl -x patchlevel.h patch_foo patch_bar patch_baz
[^1]: in commit 1604cfb0273418ed479719f39def5ee559bffda2