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
puts "[Simulation mode:\t #{simulation_mode}]"
generator ={:uid => "grid5000", :type => "grid"}, *description_files)
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)
\ No newline at end of file
Supports Markdown
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