[PATCH] git-send-email-script - fix 2 small bugs that snuck through an untested bout of editing.
Signed-off-by: Ryan Anderson <ryan@michonline.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
3342d8500f
commit
ca9a7d6571
@ -73,7 +73,7 @@ if (!defined $from) {
|
||||
do {
|
||||
$_ = $term->readline("Who should the emails appear to be from? ",
|
||||
$from);
|
||||
while (!defined $_);
|
||||
} while (!defined $_);
|
||||
|
||||
$from = $_;
|
||||
print "Emails will be sent from: ", $from, "\n";
|
||||
@ -117,7 +117,7 @@ for my $f (@ARGV) {
|
||||
opendir(DH,$f)
|
||||
or die "Failed to opendir $f: $!";
|
||||
|
||||
push @files, map { +$f . "/" . $_ } grep { -f $_ }
|
||||
push @files, grep { -f $_ } map { +$f . "/" . $_ }
|
||||
sort readdir(DH);
|
||||
|
||||
} elsif (-f $f) {
|
||||
|
Loading…
Reference in New Issue
Block a user