common/tools/zip_includefiles.pl
author Dario Sestito <darios@symbian.org>
Mon, 15 Jun 2009 15:39:34 +0100
changeset 197 e7c76e615b76
parent 116 47cccedacd2d
permissions -rw-r--r--
Initial implementation of publishing to Diamonds

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