Hi Okuji,
>
> > The problem with grub-install is that it uses the test built into
> > bash which, does is not compatible with pre-2.0 bashes.
>
> Which line do you mean?
>
> Okuji
This should fix that (it also includes the more verbose help)
--- grub-install Tue Mar 28 21:15:28 2000
+++ ../../grub-0.5.94/util/grub-install Sun Mar 26 00:22:38 2000
@@ -49,13 +49,6 @@
instead of the root directory.
--grub-shell=FILE use FILE as the grub shell.
- install_device may be in either grub or the system format.
-
- example:
- grub-install '(hd0)'
-
- ``info GRUB'' should give you access to the complete manual.
-
Reports bugs to <[EMAIL PROTECTED]>.
EOF
}
@@ -223,7 +216,7 @@
# Check if the root directory exists in the same device as the grub
# directory.
grubdir_device=`df ${grubdir} | grep /dev/ | sed 's%.*\(/dev/[a-z0-9]*\).*%\1%'`
-if test "$grubdir_device" != "$root_device"; then
+if test $grubdir_device != $root_device; then
# For now, cannot deal with this situation.
cat <<EOF 1&>2
You must set the root directory by the option --root-directory, because
--
----------------------------------------------------------------------------
Neal Walfield [EMAIL PROTECTED]
UMass Lowell - Fox 1512 Phone: 978-934-5347
Fax: 603-415-3645
Love is the triumph of imagination over intelligence.
-- H. L. Mencken