[Koha-cvs] CVS: koha/misc/translator tmpl_process.pl,1.5,1.6

Ambrose Li acli at users.sourceforge.net
Tue Feb 10 00:34:10 CET 2004


Update of /cvsroot/koha/koha/misc/translator
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21182

Modified Files:
	tmpl_process.pl 
Log Message:
Minor spelling correction.
Don't proceed if the user specified an unknown option.


Index: tmpl_process.pl
===================================================================
RCS file: /cvsroot/koha/koha/misc/translator/tmpl_process.pl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** tmpl_process.pl	9 Dec 2003 10:26:51 -0000	1.5
--- tmpl_process.pl	9 Feb 2004 23:34:08 -0000	1.6
***************
*** 19,23 ****
  	'exclude=s' => \@excludes,
  	'sep=s' => \$split_char,
! 	'help'	=> \$help);
  
  help() if $help;
--- 19,24 ----
  	'exclude=s' => \@excludes,
  	'sep=s' => \$split_char,
! 	'help'	=> \$help,
! ) || (usage(), exit(-1));
  
  help() if $help;
***************
*** 42,46 ****
  if( !(-d $in_files[0]) && !(-f $in_files[0]))
  {
! 	usage("Unknow input. Input must a file or a directory. (Symbolic links are not supported for the moment).");
  }
  elsif( -d $in_files[0] )
--- 43,47 ----
  if( !(-d $in_files[0]) && !(-f $in_files[0]))
  {
! 	usage("Unknown input. Input must a file or a directory. (Symbolic links are not supported for the moment.)");
  }
  elsif( -d $in_files[0] )





More information about the Koha-cvs mailing list