diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-11-10 11:19:38 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-11-10 12:10:13 +0000 |
commit | 99ead48a7d0c14b19e4560ed22afba21314a3fd9 (patch) | |
tree | 4d4322622ade495b2141096c5b4b738b2ff85d3d /scripts | |
parent | f3bd1e47e087ded98437f219e54813652adac3d2 (diff) | |
download | qt-creator-99ead48a7d0c14b19e4560ed22afba21314a3fd9.tar.gz |
purify2tasks.pl: Escape backslashes in messages
Purify sometimes has file names in its messages.
Change-Id: If0fd8306f124a9f59938092ae2bfa4efaca64f5d
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/purify2tasks.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/purify2tasks.pl b/scripts/purify2tasks.pl index 24aa1aafea..655df47b68 100755 --- a/scripts/purify2tasks.pl +++ b/scripts/purify2tasks.pl @@ -53,5 +53,6 @@ while (my $line = <STDIN> ) { # match a warning/error report } elsif ($line =~ /^\[[W|E|I]\] /) { $lastMessage = substr($line, 4); + $lastMessage =~ s/\\/\\\\/g; } } |