common/tools/csvToSysDef.pl
changeset 277 15307a7772ea
parent 275 7b0a774a0c87
child 282 aee074ee2646
--- a/common/tools/csvToSysDef.pl	Wed Aug 05 18:14:46 2009 +0100
+++ b/common/tools/csvToSysDef.pl	Thu Aug 06 10:01:35 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}";