[Cdd-commits] cdd/common/cdd cdd-gen-control,1.4,1.5

Otavio Salvador debian-custom@lists.debian.org
Tue, 29 Jun 2004 16:55:48 +0000


Update of /cvsroot/cdd/cdd/common/cdd
In directory haydn:/tmp/cvs-serv10792

Modified Files:
	cdd-gen-control 
Log Message:
* Include code to stop if exist a task with name 'common'.

Index: cdd-gen-control
===================================================================
RCS file: /cvsroot/cdd/cdd/common/cdd/cdd-gen-control,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- cdd-gen-control	29 Jun 2004 16:32:16 -0000	1.4
+++ cdd-gen-control	29 Jun 2004 16:55:46 -0000	1.5
@@ -167,6 +167,7 @@
     # First document their existence, so they can depend on each other.
     for $taskfile (<tasks/*>) {
 	next if ("tasks/CVS" eq $taskfile);
+	if ("tasks/common" eq $taskfile) { die "You cannot use 'common' as task name"; }
 	next if ($taskfile =~ m/~$/);
 
 	my $curpkg = $taskfile;