common/tools/zip_includefiles.pl
author matt.davies@SYM-BUILD02.ad-sfpd.intra
Mon, 15 Jun 2009 14:52:06 +0100
changeset 196 3b9cbbf0f484
parent 139 47cccedacd2d
permissions -rw-r--r--
parsewhatlog.pl - put back in the regex 1-liner what got taken out (multiple 'master' repos out of sync)

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