]> granicus.if.org Git - pgbadger/commitdiff
Replace zcat by gunzip -c to fix an issue on MacOsx. Thanks to Kjeld Peters for the...
authorDarold Gilles <gilles@darold.net>
Sun, 3 Mar 2013 09:45:51 +0000 (10:45 +0100)
committerDarold Gilles <gilles@darold.net>
Sun, 3 Mar 2013 09:45:51 +0000 (10:45 +0100)
pgbadger

index b5a01131fc26a7c8f8e9f8b0b5ce2ca426622df5..0e4192b28b9f9b391b77ed268a6530dafc62968f 100755 (executable)
--- a/pgbadger
+++ b/pgbadger
@@ -110,7 +110,7 @@ $| = 1;
 my $JQGRAPH = 1;
 
 # Command line options
-my $zcat                    = 'zcat';
+my $zcat                    = 'gunzip -c';
 my $bzcat                   = 'bunzip2 -c';
 my $ucat                    = 'unzip -p';
 my $gzip_uncompress_size    = "gunzip -l %f | grep -E '^\\s*[0-9]+' | awk '{print \$2}'";