common/tools/csvToSysDef.pl
changeset 337 1d3a752f6723
parent 335 15307a7772ea
child 340 aee074ee2646
--- a/common/tools/csvToSysDef.pl	Thu Aug 06 10:18:09 2009 +0100
+++ b/common/tools/csvToSysDef.pl	Thu Aug 06 11:11:45 2009 +0100
@@ -50,6 +50,8 @@
 # For each package in CSV...
 foreach my $package (@packages)
 {
+	# If the sources.csv does not include a sys def for this package, it doesn't get built
+	next unless $package->{sysdef};
 	warn "Warning: Package $package->{dst} does not appear on the local system\n" unless -d $package->{dst};
 	# Look for the pkg defn in the root of the package tree
 	my $pkgDef = "$package->{dst}/$package->{sysdef}";