[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bogue dans ddts-script_0.4.15



Bonsoir,

désolé, j'ai laissé un gros bogue dans la version de ce midi, la
nouvelle est en ligne, et la rustine est attachée.

Changes: 
 ddts-script (0.4.16) unstable; urgency=low
 .
   * remove command when parsing command line


Nicolas
-- 
--- ddts-script_0.4.15	Tue Feb 12 12:28:06 2002
+++ ddts-script_0.4.16	Tue Feb 12 00:00:00 2002
@@ -53,7 +53,7 @@
 # End of the config part
 
 
-my $version = "0.4.15";
+my $version = "0.4.16";
 
 # Test if configuration as been made
 die "Script unconfigured: email address is `me\@my.isp.org'\n!" if ($mail_addr =~ /me\@my.isp.org/);
@@ -1277,7 +1277,7 @@
 		  $debug;
 	$mail_self = $m ? "yes" : "no" if defined $m;		# set mail_self
 
-	$_ = $ARGV[0] || 'help';				# get command
+	$_ = shift @ARGV || 'help';				# get command
 	my %commands = (					# command references
 		'parse'	=> \&parse,
 		'mail'	=> \&mail,

Reply to: