common/tools/mergeepoc32.pl
author Matt Davies <mattd@symbian.org>
Fri, 29 May 2009 17:46:02 +0100
changeset 127 5274345d5497
parent 108 d33d43677cdf
permissions -rw-r--r--
Added merge_csv_orphans.pl - Would just change merge_csv.pl but I've been hacking and don't trust it yet.

#!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:");
}