common/tools/mergeepoc32.pl
author ThomasE@UK-ThomasE.symbian.int
Fri, 01 May 2009 15:07:37 +0100
changeset 81 5e724ff842b4
child 108 d33d43677cdf
permissions -rw-r--r--
Added RnD binaries support in PRE-BUILD stage.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
81
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     1
#!perl -w
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     2
use strict;
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     3
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     4
# Assume that all rnd repositories are delivered onto the build machine in \rnd\category\name\epoc32\...
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     5
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     6
my @rndRepositories = glob "/rnd/*/*";
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     7
foreach (@rndRepositories)
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     8
{
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     9
	s{/}{\\}g;
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
    10
	system("xcopy /Q/C/I/Y/E $_\\epoc32 \\epoc32 > nul:");
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
    11
}
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
    12