Skip to content

Commit

Permalink
fix broken for mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatsuro Hisamori committed Jan 16, 2013
1 parent 8f2fc21 commit 54fd881
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Test/riak.pm
Expand Up @@ -119,7 +119,8 @@ sub setup {
close $fh_riak;

my $ert_base;
if ($runner_base_dir =~ s/^RUNNER_BASE_DIR=//g) {
if ($runner_base_dir =~ /^RUNNER_BASE_DIR=\//) {
$runner_base_dir =~ s/^RUNNER_BASE_DIR=//g;
$ert_base = $runner_base_dir;
}
else {
Expand Down

0 comments on commit 54fd881

Please sign in to comment.