openbsd-ports/databases/mysql-zrm/patches/patch-usr_bin_mysql-zrm-backup
giovanni 33441d84ea Update to 2.2.0
help and ok sthen@
2010-05-05 17:03:19 +00:00

22 lines
766 B
Plaintext

$OpenBSD: patch-usr_bin_mysql-zrm-backup,v 1.3 2010/05/05 17:03:19 giovanni Exp $
--- usr/bin/mysql-zrm-backup.orig Thu Feb 4 01:19:25 2010
+++ usr/bin/mysql-zrm-backup Wed May 5 12:11:16 2010
@@ -40,7 +40,7 @@ $SIG{'TERM'} = sub { $abort_flag = 1; };
$SIG{'PIPE'} = sub { &printWarning( "Communication pipe broke. Continuing\n" ); };
-my $MD5SUM="md5sum";
+my $MD5SUM="md5";
my $MAILCMD="";
@@ -1889,7 +1889,7 @@ sub totalSize()
$inputs{"synchronous-checksum"} == 1 ){
my $file = $File::Find::fullname;
if( -f $file ){
- my $x = $MD5SUM." -b "."\"$file\"";
+ my $x = $MD5SUM." -bq "."\"$file\"";
$x = &execCmdAndGetOutput($x);
if( !defined $x ){
&printError( "Could not get md5 checksum\n" );