From: Vladimir 'phcoder' Serbinenko Date: Wed, 7 Jul 2010 15:51:26 +0000 (+0200) Subject: * tests/util/grub-shell.in: Remove bashisms and declare as sh script. X-Git-Tag: 1.99~741 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=becce1b16a92a81f57ef1db3d02f53d3106907e1;p=thirdparty%2Fgrub.git * tests/util/grub-shell.in: Remove bashisms and declare as sh script. --- diff --git a/ChangeLog b/ChangeLog index e4b5143d4..789ebd391 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-07-07 Vladimir Serbinenko + + * tests/util/grub-shell.in: Remove bashisms and declare as sh script. + 2010-07-07 Colin Watson * term/gfxterm.c (grub_gfxterm_background_image_cmd): Fix diff --git a/tests/util/grub-shell.in b/tests/util/grub-shell.in index 17da6c8c0..2cd256131 100644 --- a/tests/util/grub-shell.in +++ b/tests/util/grub-shell.in @@ -1,4 +1,4 @@ -#! /bin/bash -e +#! /bin/sh -e # Run GRUB script in a Qemu instance # Copyright (C) 2009,2010 Free Software Foundation, Inc. @@ -94,7 +94,7 @@ done if [ "x${source}" = x ] ; then tmpfile=`mktemp` - while read; do + while read REPLY; do echo $REPLY >> ${tmpfile} done source=${tmpfile}