common/tools/zip_includefiles.pl
author MattD <mattd@symbian.org>
Thu, 02 Jul 2009 12:27:05 +0100
changeset 228 f1f162027366
parent 116 47cccedacd2d
permissions -rw-r--r--
Build HG Caching - added new variable 'sf.spec.sourcesync.cachelocation' and changed caching invocation to use it. Defaults to previous location.

#!perl -w

use strict;

my @includefiles = glob "*_includefile.txt";
foreach (@includefiles)
{
    my $includefilename=$_;
	if (m/(.*)(_includefile.txt)/) {
		my $zipfilename = $1.".zip";
		system("7za a -tzip -i@".$includefilename . " " .$zipfilename);
	}
}