/[grub]/grub/util/grub-install.in
ViewVC logotype

Diff of /grub/util/grub-install.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.32 by okuji, Sat Dec 29 18:53:30 2001 UTC revision 1.33 by okuji, Wed Jan 2 18:46:31 2002 UTC
# Line 39  force_lba= Line 39  force_lba=
39  recheck=no  recheck=no
40  debug=no  debug=no
41    
42    # look for secure tempfile creation wrappers on this platform
43    if test -x /bin/tempfile; then
44        mkstemp="/bin/tempfile --prefix=grub"
45    elif test -x /bin/mktemp; then
46        mkstemp="/bin/mktemp /tmp/grub-install.log.XXXXXX"
47    else
48        mkstemp=""
49    fi
50    
51  # Usage: usage  # Usage: usage
52  # Print the usage.  # Print the usage.
53  usage () {  usage () {
# Line 268  if test -f "$device_map"; then Line 277  if test -f "$device_map"; then
277      :      :
278  else  else
279      # Create a safe temporary file.      # Create a safe temporary file.
280      test -x /bin/tempfile && log_file=`tempfile --prefix=grub`      test -n "$mkstemp" && log_file=`$mkstemp`
281    
282      $grub_shell --batch --device-map=$device_map <<EOF >$log_file      $grub_shell --batch --device-map=$device_map <<EOF >$log_file
283  quit  quit
# Line 342  for file in \ Line 351  for file in \
351  done  done
352    
353  # Create a safe temporary file.  # Create a safe temporary file.
354  test -x /bin/tempfile && log_file=`tempfile --prefix=grub`  test -n "$mkstemp" && log_file=`$mkstemp`
355    
356  # Now perform the installation.  # Now perform the installation.
357  $grub_shell --batch --device-map=$device_map <<EOF >$log_file  $grub_shell --batch --device-map=$device_map <<EOF >$log_file

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26