Hi,
We use `mktemp' or `mktemp -d' (with no argument) in the shell scripts:
- grub-core/genmod.sh.in
- tests/util/grub-shell.in
- tests/util/grub-shell-tester.in
- tests/grub_script_blockarg.in
- tests/partmap_test.in
- util/powerpc/ieee1275/grub-mkrescue.in
But such invocations of mktemp fail on some systems (NetBSD, and,
according to their man pages, FreeBSD and MacOS X).
A simple solution would be to replace those invocations with:
mktemp [-d] ${TMPDIR:-/tmp}/tmp.XXXXXXXXXX
What do you think? Is there a better alternative?
Grégoire
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel