diff options
author | Aleix Pol <aleixpol@kde.org> | 2016-11-02 13:43:25 +0100 |
---|---|---|
committer | Aleix Pol <aleixpol@kde.org> | 2016-11-03 15:24:49 +0100 |
commit | 24c335069300ece4de76f480dd4bebc9bc95445c (patch) | |
tree | 5d23d441292afe4f830eff40fb7066dcf62a730a /docs | |
parent | 91dbd2f5a30caf878f668e60b7c2ee5ca376b858 (diff) | |
download | kconfig-24c335069300ece4de76f480dd4bebc9bc95445c.tar.gz kconfig-24c335069300ece4de76f480dd4bebc9bc95445c.tar.bz2 |
Don't be fatal on File field not being properly parsed
Summary:
Fallback on trying the same filename as the actual file.
There were some regressions due to the former matching expression:
string(REGEX REPLACE "^(.*\n)?File=([^\n]+kcfg).*\n.*$" "\\2" _kcfg_FILENAME "${_contents}")
This one would allow for the File field to be the kcfgc file (which doesn't
make sense).
With this patch we're not reproducing this behaviour, but we're allowing for the
things that aren't building to work. After all, most kcfg and kcfgc files share
the same name.
Reviewers: #frameworks, davidedmundson
Reviewed By: davidedmundson
Subscribers: aacid, kfunk
Differential Revision: https://phabricator.kde.org/D3226
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions