Fix import-tars fix.
This heeds advice from our resident Perl expert to make sure the script is not confused with a string that ends with /\n Signed-off-by: Junio C Hamano <junkio@cox.net>maint
parent
2342c4ee14
commit
d0c32b6339
|
@ -52,7 +52,7 @@ foreach my $tar_file (@ARGV)
|
||||||
Z8 Z1 Z100 Z6
|
Z8 Z1 Z100 Z6
|
||||||
Z2 Z32 Z32 Z8 Z8 Z*', $_;
|
Z2 Z32 Z32 Z8 Z8 Z*', $_;
|
||||||
last unless $name;
|
last unless $name;
|
||||||
next if $name =~ '/$';
|
next if $name =~ m{/\z};
|
||||||
$mode = oct $mode;
|
$mode = oct $mode;
|
||||||
$size = oct $size;
|
$size = oct $size;
|
||||||
$mtime = oct $mtime;
|
$mtime = oct $mtime;
|
||||||
|
|
Loading…
Reference in New Issue