Skip to content

Commit

Permalink
Merge "Fix to run ccdb migrations on initial startup. For more info: h…
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Bozeman authored and testazuretrain committed Jan 6, 2012
2 parents 71f3fe4 + 194717c commit 9e49dce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/vcap
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ class Component
if core?
@path = File.join(DIR, name)
# Sane default for location of configuration file
@configuration_path ||= File.join(DIR, "..", name, "config", "#{name}.yml")
@configuration_path ||= File.expand_path(File.join(DIR, "..", name, "config", "#{name}.yml"))
else
@path = File.join(SERVICE_DIR, name)
# Sane default for location of service configuration file
pre = name.sub(/_node|_gateway/,'')
@configuration_path ||= File.join(DIR, "../services", pre, "config", "#{name}.yml")
@configuration_path ||= File.expand_path(File.join(DIR, "../services", pre, "config", "#{name}.yml"))
end
end

Expand Down

0 comments on commit 9e49dce

Please sign in to comment.