summaryrefslogtreecommitdiffstats
path: root/WebKitTools/Scripts/make-script-test-wrappers
diff options
context:
space:
mode:
Diffstat (limited to 'WebKitTools/Scripts/make-script-test-wrappers')
-rwxr-xr-xWebKitTools/Scripts/make-script-test-wrappers2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebKitTools/Scripts/make-script-test-wrappers b/WebKitTools/Scripts/make-script-test-wrappers
index 133476c..aed1834 100755
--- a/WebKitTools/Scripts/make-script-test-wrappers
+++ b/WebKitTools/Scripts/make-script-test-wrappers
@@ -99,7 +99,7 @@ for my $tfile (@templates) {
$html =~ s:${templateDirectory}/(.*)\.js:$1.html:;
next if -f "$html-disabled";
- system("grep -q 'successfullyParsed =' $file");
+ system("cat ${file} | tr '\\0' ' ' | grep -q 'successfullyParsed ='");
if ($? != 0) {
`echo "" >> "${file}"`;
`echo "var successfullyParsed = true;" >> "${file}"`;