sync data dir correctly, and also sync after Stage step completes b=396438 r=rhelmer p=joduinn

This commit is contained in:
rhelmer@mozilla.com 2007-10-22 17:36:50 -07:00
parent aeb85a8528
commit 1acb4ce758
2 changed files with 4 additions and 2 deletions

View File

@ -13,7 +13,7 @@ use Cwd;
use Bootstrap::Step;
use Bootstrap::Config;
use Bootstrap::Util qw(CvsCatfile);
use Bootstrap::Util qw(CvsCatfile SyncToStaging);
use MozBuild::Util qw(MkdirWithPath);
@ -414,8 +414,10 @@ sub Execute {
}
$this->GroomFiles(catfile($batch1Dir, 'mar'));
SyncToStaging();
}
sub Verify {
my $this = shift;

View File

@ -321,7 +321,7 @@ sub SyncToStaging {
die "ASSERT: SyncToStaging(): rsync failed\n";
}
$dirName = CvsCatfile($stageHome, $product.'-'.$version);
$dirName = CvsCatfile($stageHome, $product.'-'.$version.'/');
@cmdArgs = ($stagingUser . '@' . $stagingServer,
'rsync', '-av', $dirName,