common/tools/zip_includefiles.pl
author thomase
Tue, 23 Jun 2009 15:13:21 +0100
changeset 217 d5045b96f54a
parent 116 47cccedacd2d
permissions -rw-r--r--
Fixed single model genxml pre-processing workaround to enable single system definition builds. Added "tools" and "adaptation" to the list of packages to be prepended by sf where needed.

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