projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d827740
)
2986: Writes tempfile with appropriate extension so editor can apply proper editing...
author
Peter Amstutz <peter.amstutz@curoverse.com>
Fri, 20 Jun 2014 19:57:44 +0000
(15:57 -0400)
committer
Peter Amstutz <peter.amstutz@curoverse.com>
Fri, 20 Jun 2014 19:57:44 +0000
(15:57 -0400)
sdk/cli/bin/arv
patch
|
blob
|
history
diff --git
a/sdk/cli/bin/arv
b/sdk/cli/bin/arv
index 4ce0940f6e06a58f36fd237423f247849f461aa0..355a947a55b5763239d95f1efae1ac606ea2b49b 100755
(executable)
--- a/
sdk/cli/bin/arv
+++ b/
sdk/cli/bin/arv
@@
-201,7
+201,7
@@
def arv_edit client, arvados, global_opts, remaining_opts
require 'tempfile'
- tmp = Tempfile.new(
n
)
+ tmp = Tempfile.new(
[n, "." + global_opts[:format]]
)
tmp.write(content)
tmp.close