Description:
new default config file
git-svn-id: http://theory.cpe.ku.ac.th/grader/cli/trunk/scripts@25 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r12:dd4ebb184900 - - 1 file changed: 2 inserted, 2 deleted
@@ -71,7 +71,7 | |||
|
71 | 71 | |
|
72 | 72 | def copy_script(problem_home) |
|
73 | 73 | script_dir = "#{problem_home}/script" |
|
74 |
- std_script_dir = File.dirname(__FILE__) + '/std-script |
|
|
74 | + std_script_dir = File.dirname(__FILE__) + '/std-script' | |
|
75 | 75 | scripts = Dir[std_script_dir + '/*'] |
|
76 | 76 | |
|
77 | 77 | copied = [] |
@@ -87,7 +87,7 | |||
|
87 | 87 | return copied |
|
88 | 88 | end |
|
89 | 89 | |
|
90 |
- def clear_script(problem_home |
|
|
90 | + def clear_script(log,problem_home) | |
|
91 | 91 | log.each do |s| |
|
92 | 92 | system("rm #{problem_home}/script/#{s}") |
|
93 | 93 | end |
You need to be logged in to leave comments.
Login now