Skip to content

Commit

Permalink
slurp-rest β†’ slurp
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexDaniel committed Jan 25, 2018
1 parent 13eeae8 commit 6776e35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maintenance/long-term-storage.p6
Expand Up @@ -73,7 +73,7 @@ sub pack-it {
my $sha-proc = run :out, :in, :bin, β€˜sha256sum’, β€˜-b’;
$sha-proc.in.write: Blob.new(@bytes);
$sha-proc.in.close;
my $sha = $sha-proc.out.slurp-rest(:close).words.head; # could also be a random name, doesn't matter
my $sha = $sha-proc.out.slurp(:close).decode.words.head; # could also be a random name, doesn't matter
exit 1 unless $sha;
my $large-archive-path = β€œ{ARCHIVES-LOCATION}/$sha.lrz”;

Expand Down

0 comments on commit 6776e35

Please sign in to comment.