Skip to content

Commit

Permalink
version, not array offset, dolt
Browse files Browse the repository at this point in the history
  • Loading branch information
kentfredric committed Nov 4, 2013
1 parent 2395d44 commit d36b1e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tools.pm
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ sub get_sterile {
return if $got_sterile;
my $cwd = cwd();
chdir '/tmp';
my $version = $[;
my $version = $];
safe_exec(
'git', 'clone', '--depth=10',
'--branch=' . $version,
Expand Down

0 comments on commit d36b1e8

Please sign in to comment.