Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Olena
olena
Commits
084fcc94
Commit
084fcc94
authored
Mar 22, 2010
by
Roland Levillain
Browse files
Make a more portable use of mktemp.
* doc/gen-split-examples-mk, * doc/gen-split-outputs-mk: Here.
parent
67c299f4
Changes
3
Hide whitespace changes
Inline
Side-by-side
milena/ChangeLog
View file @
084fcc94
2010-03-22 Roland Levillain <roland@lrde.epita.fr>
Make a more portable use of mktemp.
* doc/gen-split-examples-mk,
* doc/gen-split-outputs-mk:
Here.
2010-03-22 Roland Levillain <roland@lrde.epita.fr>
Sort inputs of generators to make them deterministic w.r.t. outputs.
milena/doc/gen-split-examples-mk
View file @
084fcc94
...
...
@@ -59,7 +59,7 @@ inputs()
output_dir
=
examples/split
# Use a temporary file to dump rules at the end of the output.
tempfile
=
`
mktemp
`
tempfile
=
`
mktemp
/tmp/temp.XXXXXX
`
# Set up automatic cleanup.
cleanup
()
{
rm
-f
"
$tempfile
"
;
exit
;
}
trap
cleanup 0 1 2 3 6 15
...
...
milena/doc/gen-split-outputs-mk
View file @
084fcc94
...
...
@@ -60,7 +60,7 @@ inputs()
output_dir
=
outputs/split
# Use a temporary file to dump rules at the end of the output.
tempfile
=
`
mktemp
`
tempfile
=
`
mktemp
/tmp/temp.XXXXXX
`
# Set up automatic cleanup.
cleanup
()
{
rm
-f
"
$tempfile
"
;
exit
;
}
trap
cleanup 0 1 2 3 6 15
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment