Patch from David Weinehall <tao@debian.org>

* util/mkbimage: Fix XSI-isms (for supporting POSIX-only shells).
This commit is contained in:
robertmh 2004-07-21 14:43:04 +00:00
parent 31831d933f
commit 255d37589f
3 changed files with 11 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2004-07-21 Robert Millan <robertmh@gnu.org>
Patch from David Weinehall <tao@debian.org>
* util/mkbimage: Fix XSI-isms (for supporting POSIX-only shells).
2004-07-20 Robert Millan <robertmh@gnu.org>
* util/grub-install.in: Detect GNU/k*BSD systems as well.

1
THANKS
View file

@ -26,6 +26,7 @@ Chip Salzenberg <chip@valinux.com>
Christian Jones <chjones@aleph0.com>
Christoph Plattner <Christoph.Plattner@dot.at>
Damian Ivereigh <damian@cisco.com>
David Weinehall <tao@debian.org>
Dan J. Walters <djw@cs.utexas.edu>
Daniel Farrell <s2108287@student.rmit.edu.au>
Daniel Pittman <daniel@rimspace.net>

View file

@ -1,7 +1,7 @@
#!/bin/sh
# MaKe a Bootable IMAGE --- 1.44, 2.88 and El Torito no-emulation mode
# C) 2001,2002,2003 Thierry Laronde <tlaronde@polynum.org>
# C) 2001,2002,2003 Robert Millan <zeratul2@wanadoo.es>
# C) 2001,2002,2003 Robert Millan <robertmh@gnu.org>
# This program is free software; you can redistribute it and/or modify
@ -232,10 +232,10 @@ done
if [ ! "$image_type" ]; then
image_type=hd;
elif [ "$image_type" != "1.20" -a "$image_type" != "1.44" \
-a "$image_type" != "1.60" -a "$image_type" != "1.68" \
-a "$image_type" != "2.88" -a "$image_type" != "1.74" \
-a "$image_type" != "hd" -a "$image_type" != "1.60" ] ; then
elif [ "$image_type" != "1.20" ] && [ "$image_type" != "1.44" ] \
&& [ "$image_type" != "1.60" ] && [ "$image_type" != "1.68" ] \
&& [ "$image_type" != "2.88" ] && [ "$image_type" != "1.74" ] \
&& [ "$image_type" != "hd" ] && [ "$image_type" != "1.60" ] ; then
error wrong_type ;
fi