git.annexia.org
/
goaljobs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73abc31
)
goaljobs: sh: ~tmpdir default should be true not false.
author
Richard W.M. Jones
<rjones@redhat.com>
Mon, 23 Sep 2013 17:46:09 +0000
(18:46 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Mon, 23 Sep 2013 17:46:09 +0000
(18:46 +0100)
goaljobs.ml
patch
|
blob
|
history
diff --git
a/goaljobs.ml
b/goaljobs.ml
index
94843ac
..
489f387
100644
(file)
--- a/
goaljobs.ml
+++ b/
goaljobs.ml
@@
-242,7
+242,7
@@
let rm_rf dir =
let shell = ref "/bin/sh"
(* Used by sh, shout, shlines to handle the script and temporary dir. *)
-let with_script ?(tmpdir =
fals
e) script f =
+let with_script ?(tmpdir =
tru
e) script f =
let dir = if tmpdir then Some (make_tmpdir ()) else None in
let script_file, chan =
match dir with