aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2016-11-10 11:19:38 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2016-11-10 12:10:13 +0000
commit99ead48a7d0c14b19e4560ed22afba21314a3fd9 (patch)
tree4d4322622ade495b2141096c5b4b738b2ff85d3d /scripts
parentf3bd1e47e087ded98437f219e54813652adac3d2 (diff)
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-xscripts/purify2tasks.pl1
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;
}
}