[Po4a-commits] po4a po4a,1.15,1.16

Martin Quinson po4a-devel@lists.alioth.debian.org
Sat, 14 Aug 2004 17:31:07 +0000


Update of /cvsroot/po4a/po4a
In directory haydn:/tmp/cvs-serv9878

Modified Files:
	po4a 
Log Message:
Kill the code checking that the first argument contains no colon, since the filename can contain colons in which case we get false positive on this one

Index: po4a
===================================================================
RCS file: /cvsroot/po4a/po4a/po4a,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- po4a	10 Aug 2004 18:43:33 -0000	1.15
+++ po4a	14 Aug 2004 17:31:05 -0000	1.16
@@ -237,12 +237,7 @@
     my ($cmd,$main,$args)=($1,$2,$3||"");
     
     print "cmd=[$cmd]; main=$main; args=\"$args\"\n" if $debug;
-    
-    die sprintf("%s:%d: ".
-	        gettext("The first argument (%s) must not contain any colon (':')")."\n",
- 	        $config_file,$nb,$main)
-      if ($main =~ /:/);
-    
+        
     if ($cmd eq "po4a_paths") {
 	die sprintf("%s:%d: ".
 	            gettext("'po4a_path' redeclared").