X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=restore.pl;h=309fb738677988678decb3aaa4451908b5419217;hb=bf947741ac8f65e74d594a1e14e94d90320b403e;hp=3a600b1c0cf11187d37ad162ffffeed428cc8479;hpb=b735fd32081b00b0c94196cf77c9b465703d8da5;p=cumulus.git diff --git a/restore.pl b/restore.pl index 3a600b1..309fb73 100755 --- a/restore.pl +++ b/restore.pl @@ -28,7 +28,7 @@ my $RECURSION_LIMIT = 3; # Bound on recursive object references my $VERBOSE = 0; # Set to 1 to enable debugging messages ############################ CHECKSUM VERIFICATION ############################ -# A very simple later for verifying checksums. Checksums may be used on object +# A very simple layer for verifying checksums. Checksums may be used on object # references directly, and can also be used to verify entire reconstructed # files. # @@ -337,7 +337,7 @@ sub process_metadata { # Try to parse the data as "key: value" pairs of file metadata. Also # handle continuation lines, which start with whitespace and continue # the previous "key: value" pair. - if ($line =~ m/^(\w+):\s+(.*)\s*$/) { + if ($line =~ m/^(\w+):\s*(.*)$/) { $info{$1} = $2; $last_key = $1; } elsif ($line =~/^\s/ && defined $last_key) {