Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
grid5000
reference-repository
Commits
3df8c4f3
Commit
3df8c4f3
authored
Jan 28, 2009
by
Cyril Rohr
Browse files
fixed a bug in path management
parent
57352877
Changes
1
Hide whitespace changes
Inline
Side-by-side
generators/grid5000.rb
View file @
3df8c4f3
...
...
@@ -27,5 +27,6 @@ else
puts
"[Simulation mode:
\t
#{
simulation_mode
}
]"
generator
=
G5K
::
ReferenceGenerator
.
new
({
: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
)
end
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment