common/tools/zip_includefiles.pl
author Louis Henry Nayegon <louisn@symbian.org>
Mon, 22 Jun 2009 16:52:23 +0100
changeset 214 b97beda10eb3
parent 116 47cccedacd2d
permissions -rw-r--r--
merge using wildcard on destination removes all of destination not just src files

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