Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix braino in extract command resulting in not being able to pull bra…
…nches in a component that don't exist in perl6-bench
  • Loading branch information
Geoffrey Broadwell committed Dec 3, 2012
1 parent 9d20b5f commit 90aa996
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bench
Expand Up @@ -99,7 +99,6 @@ multi MAIN ('extract', *@components) {
my $tag-list = open 'git tag', :p;
my @all-tags = $tag-list.lines;
$tag-list.close;
%*ENV.delete('GIT_DIR');

my @revs;
if $comp<checkouts> {
Expand All @@ -118,6 +117,8 @@ multi MAIN ('extract', *@components) {
@revs = grep / <{ $tag_regex }> /, @all-tags;
}

%*ENV.delete('GIT_DIR');

# Work around Rakudo bug #115390 by splitting into multiple loops
for @revs -> $rev {
if $rev.path.d {
Expand Down

0 comments on commit 90aa996

Please sign in to comment.