* Add a version number to manifests.

This commit is contained in:
Eelco Dolstra 2005-02-25 16:12:52 +00:00
parent 8d3c346559
commit 8376fff151
3 changed files with 16 additions and 2 deletions

View file

@ -27,7 +27,10 @@ my %successors;
for my $manifest (glob "$manifestDir/*.nixmanifest") {
# print STDERR "reading $manifest\n";
readManifest $manifest, \%narFiles, \%patches, \%successors;
if (readManifest($manifest, \%narFiles, \%patches, \%successors) < 3) {
print STDERR "you have an old-style manifest `$manifest'; please delete it\n";
exit 1;
}
}