Miroslav Lachman <[email protected]> wrote:
> 
> On 18/07/2025 20:48, Michael Grimm wrote:

>> But: If I do apply that very same patch by 'patch < 
>> files/patch-scripts_logwatch.pl' at the appropriate location, all 18 hunks 
>> are applied successfully.
>> Can you help me to understand how to fix this?
>> Thanks in advance and regards,
>> Michael
> 
> Can it be that the file is already modified by shebangfix? it is in the 
> Makefile:
> 
> USES= perl5 shebangfix
> 
> SHEBANG_FILES= scripts/logwatch.pl
> 
> If there is a shebangfix there is no need to patch it.

Bingo! Now I do understand what went wrong. 
And I can remove my last ${REINPLACE_CMD} as well.

Thanks for your help, highly appreciated,
Michael



Reply via email to