adapt_cmakelists_file: quote the metacharacters
ClosedPublic

Authored by ltoscano on Aug 5 2017, 12:49 PM.

Details

Summary

When used in patterns, apparently metacharacters must be properly
quoted or the interpreter returns an error in newer version of Perl
(tested with 5.26).
In fact the metacharacters were already quoted in some patterns.

Test Plan

Tested live when porting kimagemapeditor.

Diff Detail

Repository
R230 KDE Development Scripts
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ltoscano created this revision.Aug 5 2017, 12:49 PM

Asking for a review because my Perl skills are not so good and I may have misunderstood the problem. But it seems to work :)

mlaurent accepted this revision.Aug 5 2017, 2:49 PM
This revision is now accepted and ready to land.Aug 5 2017, 2:49 PM
This revision was automatically updated to reflect the committed changes.