common/tools/zip_includefiles.pl
author Arnaud Lenoir
Wed, 26 Aug 2009 21:52:22 +0100
changeset 385 065183c4417b
parent 116 47cccedacd2d
permissions -rw-r--r--
Arnaudl adding work done by Darios on raptor summarise.

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