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:
f921f7b
)
goaljobs: Remove temporary files properly.
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 17 Sep 2013 17:14:03 +0000
(18:14 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 17 Sep 2013 17:14:03 +0000
(18:14 +0100)
goaljobs
patch
|
blob
|
history
diff --git
a/goaljobs
b/goaljobs
index
defb248
..
b7f929a
100755
(executable)
--- a/
goaljobs
+++ b/
goaljobs
@@
-140,4
+140,5
@@
echo \
ocamlfind $best "${passthru[@]}" "${pkg[@]}" "$@" $main -o "$output"
ocamlfind $best "${passthru[@]}" "${pkg[@]}" "$@" $main -o "$output"
-rm -f $main
+mainbase="$(echo $main | sed s,\.ml$,,)"
+rm -f "$mainbase"*