* tests/util/grub-shell.in: Remove bashisms and declare as sh script.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-07-07 17:51:26 +02:00
parent f7bf0918aa
commit becce1b16a
2 changed files with 6 additions and 2 deletions

View file

@ -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}