2010-10-11 Grégoire Sutre Make mktemp invocations portable. * grub-core/genmod.sh.in: Use mktemp with an explicit template, and exit if mktemp fails. * tests/grub_script_blockarg.in: Likewise. * tests/partmap_test.in: Likewise. * tests/util/grub-shell-tester.in: Likewise. * tests/util/grub-shell.in: Likewise. * util/powerpc/ieee1275/grub-mkrescue.in: Likewise. * Makefile.am: Likewise, and chain shell commands with `&&' instead of ';'. * util/grub-mkrescue.in: Use the same explicit template as above, and exit if mktemp fails.