Lines Matching refs:log_file
34 log_file=/tmp/grub-install.log.$$
337 test -n "$mklog" && log_file=`$mklog`
339 $grub_shell --batch $no_floppy --device-map=$device_map <<EOF >$log_file
342 if grep "Error [0-9]*: " $log_file >/dev/null; then
343 cat $log_file 1>&2
347 rm -f $log_file
423 test -n "$mklog" && log_file=`$mklog`
429 $grub_shell --batch $no_floppy --device-map=$device_map <<EOF >$log_file
433 if grep "Error [0-9]*: " $log_file >/dev/null; then
448 rm -f $log_file
451 test -n "$mklog" && log_file=`$mklog`
454 $grub_shell --batch $no_floppy --device-map=$device_map <<EOF >$log_file
460 if grep "Error [0-9]*: " $log_file >/dev/null || test $debug = yes; then
461 cat $log_file 1>&2
465 rm -f $log_file