projects
/
gruntmaster-data.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca77adc
)
Fix gruntmaster-problem edit
author
Marius Gavrilescu
<marius@ieval.ro>
Fri, 6 Feb 2015 19:16:33 +0000
(21:16 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Fri, 6 Feb 2015 19:16:33 +0000
(21:16 +0200)
gruntmaster-problem
patch
|
blob
|
blame
|
history
diff --git
a/gruntmaster-problem
b/gruntmaster-problem
index 7e979cdc05164e6c8c4788efb6d19756e7ada04b..7fe2f76a7a13a4e262a4d6170b47e90f02cf7e8f 100755
(executable)
--- a/
gruntmaster-problem
+++ b/
gruntmaster-problem
@@
-112,7
+112,7
@@
sub cmd_edit{
close $fh;
my $editor = $ENV{EDITOR} // 'editor';
system $editor, $file;
- $db->problem($id)->update({$col =>
read_file $file})
;
+ $db->problem($id)->update({$col =>
scalar read_file $file}) or die "$!"
;
}
sub cmd_list{
This page took
0.011378 seconds
and
4
git commands to generate.