mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 16:19:22 +00:00
tests/util/grub-shell: Convert spaces to TABs
Signed-off-by: Glenn Washburn <development@efficientek.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
4fdcb339bb
commit
a63ef8c78c
1 file changed
+9
-9
@@ -66,8 +66,8 @@ exec_show_error () {
|
|||||||
v=`$@ 2>&1`
|
v=`$@ 2>&1`
|
||||||
ret=$?
|
ret=$?
|
||||||
if [ "$ret" != 0 ]; then
|
if [ "$ret" != 0 ]; then
|
||||||
echo "$v" >&2
|
echo "$v" >&2
|
||||||
exit $ret
|
exit $ret
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -247,7 +247,7 @@ for option in "$@"; do
|
|||||||
--no-trim)
|
--no-trim)
|
||||||
trim=0 ;;
|
trim=0 ;;
|
||||||
--debug)
|
--debug)
|
||||||
debug=$((debug+1)) ;;
|
debug=$((debug+1)) ;;
|
||||||
--debug=*)
|
--debug=*)
|
||||||
debug=$((`echo "$option" | sed -e 's/--debug=//'`)) ;;
|
debug=$((`echo "$option" | sed -e 's/--debug=//'`)) ;;
|
||||||
--modules=*)
|
--modules=*)
|
||||||
@@ -270,10 +270,10 @@ for option in "$@"; do
|
|||||||
pseries=y
|
pseries=y
|
||||||
;;
|
;;
|
||||||
--qemu-opts=*)
|
--qemu-opts=*)
|
||||||
qs=`echo "$option" | sed -e 's/--qemu-opts=//'`
|
qs=`echo "$option" | sed -e 's/--qemu-opts=//'`
|
||||||
qemuopts="$qemuopts $qs" ;;
|
qemuopts="$qemuopts $qs" ;;
|
||||||
--disk=*)
|
--disk=*)
|
||||||
dsk=`echo "$option" | sed -e 's/--disk=//'`
|
dsk=`echo "$option" | sed -e 's/--disk=//'`
|
||||||
if [ ${grub_modinfo_platform} = emu ]; then
|
if [ ${grub_modinfo_platform} = emu ]; then
|
||||||
echo "(hd$disk) $dsk" >> "$device_map"
|
echo "(hd$disk) $dsk" >> "$device_map"
|
||||||
disk="$((disk+1))"
|
disk="$((disk+1))"
|
||||||
@@ -282,7 +282,7 @@ for option in "$@"; do
|
|||||||
echo "Too many disks" 1>&2
|
echo "Too many disks" 1>&2
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
qemuopts="$qemuopts -$disk$dsk"
|
qemuopts="$qemuopts -$disk$dsk"
|
||||||
if [ "$disk" = "hda " ]; then
|
if [ "$disk" = "hda " ]; then
|
||||||
disk="hdb ";
|
disk="hdb ";
|
||||||
elif [ "$disk" = "hdb " ]; then
|
elif [ "$disk" = "hdb " ]; then
|
||||||
@@ -295,7 +295,7 @@ for option in "$@"; do
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
--timeout=*)
|
--timeout=*)
|
||||||
timeout=`echo "$option" | sed -e 's/--timeout=//'`
|
timeout=`echo "$option" | sed -e 's/--timeout=//'`
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# Intentionally undocumented
|
# Intentionally undocumented
|
||||||
@@ -305,7 +305,7 @@ for option in "$@"; do
|
|||||||
mkimage_extra_arg="$mkimage_extra_arg `echo "$option" | sed 's/--grub-mkimage-extra=//'`" ;;
|
mkimage_extra_arg="$mkimage_extra_arg `echo "$option" | sed 's/--grub-mkimage-extra=//'`" ;;
|
||||||
|
|
||||||
--boot=*)
|
--boot=*)
|
||||||
dev=`echo "$option" | sed -e 's/--boot=//'`
|
dev=`echo "$option" | sed -e 's/--boot=//'`
|
||||||
if [ "$dev" = "fd" ] ; then boot=fd;
|
if [ "$dev" = "fd" ] ; then boot=fd;
|
||||||
elif [ "$dev" = "hd" ] ; then boot=hd;
|
elif [ "$dev" = "hd" ] ; then boot=hd;
|
||||||
elif [ "$dev" = "cd" ] ; then boot=cd;
|
elif [ "$dev" = "cd" ] ; then boot=cd;
|
||||||
|
|||||||
Reference in new issue
Block a user