2002-01-20 Yoshinori K. Okuji <okuji@gnu.org>
* util/grub-image.in: Check stage2 instead of stage2.c to determine where the script is invoked, because srcdir may not be used for the compilation.
This commit is contained in:
parent
278681dc7b
commit
f66b84f480
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2002-01-20 Yoshinori K. Okuji <okuji@gnu.org>
|
||||||
|
|
||||||
|
* util/grub-image.in: Check stage2 instead of stage2.c to
|
||||||
|
determine where the script is invoked, because srcdir may not
|
||||||
|
be used for the compilation.
|
||||||
|
|
||||||
2002-01-20 Yoshinori K. Okuji <okuji@gnu.org>
|
2002-01-20 Yoshinori K. Okuji <okuji@gnu.org>
|
||||||
|
|
||||||
* grub/asmstub.c (console_putchar): When not using curses,
|
* grub/asmstub.c (console_putchar): When not using curses,
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# grub-image - Create a GRUB boot filesystem image and tarball
|
# grub-image - Create a GRUB boot filesystem image and tarball
|
||||||
# Gordon Matzigkeit <gord@fig.org>, 2000-07-25
|
# Gordon Matzigkeit <gord@fig.org>, 2000-07-25
|
||||||
#
|
#
|
||||||
# Copyright (C) 2000 Free Software Foundation, Inc.
|
# Copyright (C) 2000, 2002 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# This file is free software; you can redistribute it and/or modify it
|
||||||
# under the terms of the GNU General Public License as published by
|
# under the terms of the GNU General Public License as published by
|
||||||
|
@ -37,7 +37,7 @@ test "X$thisdir" = "X$0" && thisdir=.
|
||||||
|
|
||||||
# See if we were invoked from within the build directory, and if so,
|
# See if we were invoked from within the build directory, and if so,
|
||||||
# use the built files rather than the installed ones.
|
# use the built files rather than the installed ones.
|
||||||
if test -f $thisdir/../stage2/stage2.c; then
|
if test -f $thisdir/../stage2/stage2; then
|
||||||
grub_shell="$thisdir/../grub/grub"
|
grub_shell="$thisdir/../grub/grub"
|
||||||
stage1dir="$thisdir/../stage1"
|
stage1dir="$thisdir/../stage1"
|
||||||
stage2dir="$thisdir/../stage2"
|
stage2dir="$thisdir/../stage2"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue