Skip to content

Commit

Permalink
Get the correct regex for matching a branch with a directory separato…
Browse files Browse the repository at this point in the history
…r in it.
  • Loading branch information
jkeenan committed Jan 24, 2011
1 parent 9c1655d commit bdd6fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Parrot/Harness/Smoke.pm
Expand Up @@ -169,7 +169,7 @@ sub collect_test_environment_data {
$devel .= (" ".@mods." mods");
}
my $out = `git branch`;
($branch) = $out =~ m{\* ([/\w+])$}m;
($branch) = $out =~ m{\* ([/\w]+)$}m;
}
my $me = $^O eq 'MSWin32' ? $ENV{'USERNAME'}
: $ENV{'LOGNAME'} || eval { getpwuid($<) };
Expand Down

0 comments on commit bdd6fb4

Please sign in to comment.