From c59e56b1d049e1286a912dfa1f51393149e586b8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 15 Mar 2012 19:12:52 +0000 Subject: make it slight clearer --- clean-rpmsrate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clean-rpmsrate b/clean-rpmsrate index 1c34f93..04ac3c0 100755 --- a/clean-rpmsrate +++ b/clean-rpmsrate @@ -6,7 +6,7 @@ use strict; use MGATools::rpmsrate; my $output_file; -$ARGV[0] =~ /-o/ and shift @ARGV and $output_file = shift; +$ARGV[0] =~ /-o/ and do { shift @ARGV; $output_file = shift }; $ARGV[1] or print "\nUsage: clean-rpmsrate [options] ... -- cgit v1.2.1