common/tools/mergeepoc32.pl
author Shabe Razvi <shaber@symbian.org>
Thu, 28 May 2009 16:01:09 +0100
changeset 116 47cccedacd2d
parent 108 d33d43677cdf
permissions -rw-r--r--
Use 7za not 7z as this is what is available on build machines

#!perl -w
# Copyright (c) 2009 Symbian Foundation Ltd
# This component and the accompanying materials are made available
# under the terms of the License "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
#
# Initial Contributors:
# Symbian Foundation Ltd - initial contribution.
# 
# Contributors:
#
# Description:
# Merges binaries from RnD repositories into the epoc32 tree used for the build

use strict;

# Assume that all rnd repositories are delivered onto the build machine in \rnd\category\name\epoc32\...

my @rndRepositories = glob "/rnd/*/*";
foreach (@rndRepositories)
{
	s{/}{\\}g;
	system("xcopy /Q/C/I/Y/E $_\\epoc32 \\epoc32 > nul:");
}