From d81ade697e3720bb1467c2da088b547b54fba7ae Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 14 Oct 2007 03:05:21 -0400 Subject: [PATCH] rewording --- mr | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mr b/mr index 3cc603f..29e5fad 100755 --- a/mr +++ b/mr @@ -359,7 +359,7 @@ if (! @repos) { $nochdir=1; } -my (@failed, @successful, @skipped); +my (@failed, @ok, @skipped); foreach my $repo (@repos) { action($action, @$repo); } @@ -445,7 +445,7 @@ sub action { } } else { - push @successful, $dir; + push @ok, $dir; } print "\n"; @@ -461,18 +461,18 @@ sub showstat { } return; } -if (! @successful && ! @failed && ! @skipped) { +if (! @ok && ! @failed && ! @skipped) { die "mr $action: no repositories found to work on\n"; } print "mr $action: finished (".join("; ", - showstat($#successful+1, "successful", "successful"), + showstat($#ok+1, "ok", "ok"), showstat($#failed+1, "failed", "failed"), showstat($#skipped+1, "skipped", "skipped"), ).")\n"; if (@failed) { exit 1; } -elsif (! @successful && @skipped) { +elsif (! @ok && @skipped) { exit 1; } exit 0; -- 2.39.5