Skip to content

Commit

Permalink
Handle windows line endings and tabs in json config files
Browse files Browse the repository at this point in the history
Change-Id: I154629d862977dde5232db3bb2597474b6053ffd
Reviewed-by: Lars Knoll <[email protected]>
Reviewed-by: Oswald Buddenhagen <[email protected]>
  • Loading branch information
laknoll authored and ossilator committed Aug 18, 2016
1 parent 672c0b3 commit 6a90c9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mkspecs/features/qt_configure.prf
Original file line number Diff line number Diff line change
Expand Up @@ -826,6 +826,8 @@ defineTest(qtRunSingleTest) {
defineReplace(qtConfEvaluate) {
isEmpty(1): return(true)

1 ~= s/$$escape_expand(\\t)/ /g
1 ~= s/$$escape_expand(\\r)//g
1 ~= s/$$escape_expand(\\n) */ /g
expr = $${1}
expr ~= s/&&/ && /g
Expand Down

0 comments on commit 6a90c9a

Please sign in to comment.