Skip to content

Commit

Permalink
Windows binaries have been moved, so i've corrected the paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliot Chance committed Jun 27, 2010
1 parent 332da7d commit 8dd4600
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/functions.pl
Expand Up @@ -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");
Expand Down Expand Up @@ -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");
}
Expand Down

0 comments on commit 8dd4600

Please sign in to comment.