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:
@@ -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;
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user