Permalink
Browse files

Windows binaries have been moved, so i've corrected the paths.

  • Loading branch information...
1 parent 332da7d commit 8dd460008ec38b00ffbd6b1ab586d29779a583ec Elliot Chance committed Jun 27, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/functions.pl
View
@@ -755,8 +755,8 @@ sub mbz_unzip_mbdump {
mkdir("mbdump");
if($^O eq "MSWin32") {
system("$g_mv replication\\mbdump\\* mbdump >nul");
- system("bunzip2 -f replication/$file");
- system("tar -xf replication/" . substr($file, 0, length($file) - 4) . " -C replication");
+ system("bin\\bunzip2 -f replication/$file");
+ system("bin\\tar -xf replication/" . substr($file, 0, length($file) - 4) . " -C replication");
} else {
system("tar -xjf replication/$file -C replication");
system("$g_mv replication/mbdump/* mbdump");
@@ -793,8 +793,8 @@ sub mbz_unzip_replication {
print localtime() . ": Uncompressing... ";
mkdir("replication/$id");
if($^O eq "MSWin32") {
- system("bunzip2 -f replication/replication-$id.tar.bz2");
- system("tar -xf replication/replication-$id.tar -C replication/$id");
+ system("bin\\bunzip2 -f replication/replication-$id.tar.bz2");
+ system("bin\\tar -xf replication/replication-$id.tar -C replication/$id");
} else {
system("tar -xjf replication/replication-$id.tar.bz2 -C replication/$id");
}

0 comments on commit 8dd4600

Please sign in to comment.