Fix count-rct-globals script for Windows

This commit is contained in:
Ted John committed 2016-08-28 21:19:55 +01:00
1 parent 51137b1fb6
commit 4ee9c2c76f
1 file changed
+1 -1
+1 -1
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env php
<?php
exec("grep -E '(RCT2_ADDRESS|RCT2_GLOBAL)[\(\s]+(0x[0-9a-zA-Z]+|[A-Z0-9_]+)' -r -o .", $lines);
exec('grep -E "(RCT2_ADDRESS|RCT2_GLOBAL)[\(\s]+(0x[0-9a-zA-Z]+|[A-Z0-9_]+)" -r -o .', $lines);
$addressFiles = [];
$lastFile = null;