common/tools/zip_includefiles.pl
author Simon Howkins <simonh@symbian.org>
Thu, 16 Jul 2009 14:19:22 +0100
changeset 258 4305132b8052
parent 116 47cccedacd2d
permissions -rw-r--r--
Added tweak for bldmefirst zip filename

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