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

git-svn-id: svn://10.0.0.236/trunk@238004 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rhelmer%mozilla.com
2007-10-23 00:36:50 +00:00
parent 17f93fbed9
commit bc802f1421
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,