]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* tests/util/grub-shell-tester.in: Remove bashism and declare as
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 20 Jul 2010 20:10:23 +0000 (22:10 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 20 Jul 2010 20:10:23 +0000 (22:10 +0200)
sh script.

ChangeLog
tests/util/grub-shell-tester.in

index 2fc4a9793015112669962d708c7adcc374bcc2a5..5e3b7ff04379454181f9ff3046caa6c5b58fe7b4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-20  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * tests/util/grub-shell-tester.in: Remove bashism and declare as
+       sh script.
+
 2010-07-20  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * disk/loopback.c (grub_loopback): Replace filename with file.
index e9507c8f546f3d51a13739df8200619c8304f966..ed34a5e1753b1745029c5d7a85e7505fc970917d 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/bash -e
+#! /bin/sh -e
 
 # Compares GRUB script output with BASH output.
 # Copyright (C) 2009,2010  Free Software Foundation, Inc.
@@ -84,7 +84,7 @@ done
 
 if [ "x${source}" = x ] ; then
   tmpfile=`mktemp`
-  while read; do
+  while read REPLY; do
     echo $REPLY >> ${tmpfile}
   done
   source=${tmpfile}