Commit 3df8c4f3 authored by Cyril Rohr's avatar Cyril Rohr
Browse files

fixed a bug in path management

parent 57352877
...@@ -27,5 +27,6 @@ else ...@@ -27,5 +27,6 @@ else
puts "[Simulation mode:\t #{simulation_mode}]" puts "[Simulation mode:\t #{simulation_mode}]"
generator = G5K::ReferenceGenerator.new({:uid => "grid5000", :type => "grid"}, *description_files) generator = G5K::ReferenceGenerator.new({:uid => "grid5000", :type => "grid"}, *description_files)
data = generator.generate data = generator.generate
generator.write(File.expand_path(File.dirname(__FILE__), "../data"), :simulate => simulation_mode) directory_to_write = File.expand_path File.join(File.dirname(__FILE__), "../data")
generator.write(directory_to_write, :simulate => simulation_mode)
end end
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment