Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Remove hardcoded base dir for data dir #68

Closed
wants to merge 1 commit into from

2 participants

@splattael

Replace hardcoded path tmp/metric_fu with @base_directory for data directory.

@splattael

Any comments on this request? Do you need tests or something else?

@bf4 bf4 referenced this pull request in metricfu/metric_fu
Closed

Remove hardcoded base dir for data dir #18

@splattael

It's fixed in fork metricfu/metric_fu

@splattael splattael closed this
@bf4
Collaborator

@splattael metricfu/metric_fu is now the official metric_fu repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 18, 2011
  1. @splattael
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/base/configuration.rb
View
2  lib/base/configuration.rb
@@ -103,7 +103,7 @@ def reset
@base_directory = ENV['CC_BUILD_ARTIFACTS'] || 'tmp/metric_fu'
@scratch_directory = File.join(@base_directory, 'scratch')
@output_directory = File.join(@base_directory, 'output')
- @data_directory = File.join('tmp/metric_fu', '_data')
+ @data_directory = File.join(@base_directory, '_data')
@metric_fu_root_directory = File.join(File.dirname(__FILE__),
'..', '..')
@template_directory = File.join(@metric_fu_root_directory,
Something went wrong with that request. Please try again.