Commit 20b48e25 authored by PARISOT Clement's avatar PARISOT Clement
Browse files

[Rakefile] Adapt generator to new file hierarchy

parent cbbbf42e
......@@ -143,7 +143,7 @@ namespace :oar do
diff.split("\n").each do |line|
action, filename = line.split("\t")
next unless filename =~ %r{.+/nodes/.+}
next unless filename =~ %r{.+/nodes/.+json}
node_uid, site_uid, grid_uid = filename.gsub(/\.json/,'').split("/").values_at(-1, -5, -7)
cluster_uid = node_uid.split("-")[0]
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